-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added node and debian version as args to Dockerfile
- Loading branch information
1 parent
3093380
commit 147655b
Showing
3 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,16 @@ | |
# To enable WebGL support in Docker | ||
# https://github.com/flolu/docker-puppeteer-webgl/blob/master/Dockerfile | ||
|
||
FROM node:16.13-bullseye-slim as builder | ||
ARG DEBIAN_VERSION=bookworm | ||
ARG NODE_VERSION=20 | ||
|
||
FROM node:${NODE_VERSION}-${DEBIAN_VERSION}-slim as builder | ||
ENV HOME /kapture | ||
COPY . ${HOME} | ||
WORKDIR ${HOME} | ||
RUN yarn | ||
|
||
FROM node:16.13-bullseye-slim | ||
FROM node:${NODE_VERSION}-${DEBIAN_VERSION}-slim | ||
LABEL maintainer "<[email protected]>" | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters