Skip to content

Commit

Permalink
install platform
Browse files Browse the repository at this point in the history
  • Loading branch information
lolopinto committed Nov 18, 2024
1 parent b9a692f commit f59ac29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG GOLANG_VERSION=v0.2.0-alpha.9
ARG GOLANG_VERSION=v0.2.0-alpha.12-test
ARG AUTO_SCHEMA_VERSION=0.0.32
ARG NODE_VERSION=18
ARG DOCKER_TAG=v0.2.0-alpha.9
ARG DOCKER_TAG=v0.2.0-alpha.12-test

# get and install tsent
FROM --platform=$BUILDPLATFORM golang:1.23.3-bullseye As golang-image
Expand Down Expand Up @@ -61,7 +61,7 @@ RUN \

RUN apt update && apt --assume-yes install zsh && \
rm -rf /var/lib/apt/lists/*
RUN npm install -g [email protected] [email protected] [email protected] @swc/[email protected] @swc/[email protected] @biomejs/[email protected]
RUN npm install -g --platform=$BUILDPLATFORM [email protected] [email protected] [email protected] @swc/[email protected] @swc/[email protected] @biomejs/[email protected]

WORKDIR /app
RUN npm install --save-dev [email protected] @swc-node/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion ts/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RUN \
RUN apt update && apt --assume-yes install zsh && \
rm -rf /var/lib/apt/lists/*

RUN npm install -g [email protected] [email protected] [email protected] @swc/[email protected] @swc/[email protected] @biomejs/[email protected]
RUN npm install -g --platform=$BUILDPLATFORM [email protected] [email protected] [email protected] @swc/[email protected] @swc/[email protected] @biomejs/[email protected]

WORKDIR /app
RUN npm install --save-dev [email protected] @swc-node/[email protected]
Expand Down

0 comments on commit f59ac29

Please sign in to comment.