Skip to content

Commit

Permalink
fix: update Dockerfile with python and .gyp to support install and ru…
Browse files Browse the repository at this point in the history
…n of Glee project in container (#1208)

Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
eelcofolkertsma and derberg authored Mar 29, 2024
1 parent d70cfb8 commit f0bdcc2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM node:16-alpine
FROM node:20-alpine

ARG ASYNCAPI_CLI_VERSION=0.59.1
# Set ARG to explicit value to build chosen version. Default is "latest"
ARG ASYNCAPI_CLI_VERSION=

# Create a non-root user
RUN addgroup -S myuser && adduser -S myuser -G myuser
Expand All @@ -14,6 +15,7 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
# Since 0.14.0 release of html-template chromium is needed for pdf generation.
# More custom packages for specific template should not be added to this dockerfile. Instead, we should come up with some extensibility solution.
RUN apk --update add git chromium && \
apk add --no-cache --virtual .gyp python3 make g++ && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/*

Expand Down

0 comments on commit f0bdcc2

Please sign in to comment.