Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommytrg committed Nov 28, 2024
1 parent d679971 commit 91457e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM node:20-alpine3.20
FROM node:20-bookworm

ARG TARGETPLATFORM

# Install dependencies not included in the base image
RUN apk update && apk upgrade
RUN apk --no-cache add bash ca-certificates curl git openssh-client
RUN apt update && apt upgrade -y
RUN apt install bash ca-certificates curl git openssh-client

# Update CA certificates
RUN update-ca-certificates
Expand All @@ -24,7 +24,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
yarn build; \
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
echo "Current platform linux/arm64"; \
apk add --no-cache build-base; \
apt install build-essential; \
yarn global add node-gyp; \
yarn; \
yarn build; \
Expand Down

0 comments on commit 91457e0

Please sign in to comment.