File tree Expand file tree Collapse file tree 8 files changed +48
-8
lines changed
Expand file tree Collapse file tree 8 files changed +48
-8
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,14 @@ LABEL "org.opencontainers.image.ref.name"="18-alpine"
1616LABEL "org.opencontainers.image.title" ="node-18-alpine"
1717LABEL "org.opencontainers.image.description" ="node-18-alpine"
1818
19+ WORKDIR /app
20+
1921RUN set -eux; \
20- apk add \
22+ apk add --no-cache \
2123 curl \
2224 git \
25+ # For vercel/turbo
26+ libc6-compat \
2327 && /bin/ash -c 'set -ex && \
2428 ARCH=`uname -m` && \
2529 if [ "$ARCH" == "x86_64" ]; then \
@@ -32,4 +36,6 @@ RUN set -eux; \
3236 echo "unknown arch" && \
3337 curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-arm64" -o /bin/pnpm; \
3438 fi' \
35- && chmod +x /bin/pnpm
39+ && chmod +x /bin/pnpm \
40+ # https://github.com/vercel/turbo/issues/2198
41+ && yarn global add turbo
Original file line number Diff line number Diff line change @@ -13,5 +13,9 @@ command:
1313 stdout :
1414 - " 7."
1515 exit-status : 0
16+ " turbo --version " :
17+ stdout :
18+ - " 1."
19+ exit-status : 0
1620
1721...
Original file line number Diff line number Diff line change @@ -16,10 +16,14 @@ LABEL "org.opencontainers.image.ref.name"="19-alpine"
1616LABEL "org.opencontainers.image.title" ="node-19-alpine"
1717LABEL "org.opencontainers.image.description" ="node-19-alpine"
1818
19+ WORKDIR /app
20+
1921RUN set -eux; \
20- apk add \
22+ apk add --no-cache \
2123 curl \
2224 git \
25+ # For vercel/turbo
26+ libc6-compat \
2327 && /bin/ash -c 'set -ex && \
2428 ARCH=`uname -m` && \
2529 if [ "$ARCH" == "x86_64" ]; then \
@@ -32,4 +36,6 @@ RUN set -eux; \
3236 echo "unknown arch" && \
3337 curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-arm64" -o /bin/pnpm; \
3438 fi' \
35- && chmod +x /bin/pnpm
39+ && chmod +x /bin/pnpm \
40+ # https://github.com/vercel/turbo/issues/2198
41+ && yarn global add turbo
Original file line number Diff line number Diff line change @@ -13,5 +13,9 @@ command:
1313 stdout :
1414 - " 7."
1515 exit-status : 0
16+ " turbo --version " :
17+ stdout :
18+ - " 1."
19+ exit-status : 0
1620
1721...
Original file line number Diff line number Diff line change @@ -16,10 +16,14 @@ LABEL "org.opencontainers.image.ref.name"="lts-alpine"
1616LABEL "org.opencontainers.image.title" ="node-lts-alpine"
1717LABEL "org.opencontainers.image.description" ="node-lts-alpine"
1818
19+ WORKDIR /app
20+
1921RUN set -eux; \
20- apk add \
22+ apk add --no-cache \
2123 curl \
2224 git \
25+ # For vercel/turbo
26+ libc6-compat \
2327 && /bin/ash -c 'set -ex && \
2428 ARCH=`uname -m` && \
2529 if [ "$ARCH" == "x86_64" ]; then \
@@ -32,4 +36,6 @@ RUN set -eux; \
3236 echo "unknown arch" && \
3337 curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-arm64" -o /bin/pnpm; \
3438 fi' \
35- && chmod +x /bin/pnpm
39+ && chmod +x /bin/pnpm \
40+ # https://github.com/vercel/turbo/issues/2198
41+ && yarn global add turbo
Original file line number Diff line number Diff line change @@ -13,5 +13,9 @@ command:
1313 stdout :
1414 - " 7."
1515 exit-status : 0
16+ " turbo --version " :
17+ stdout :
18+ - " 1."
19+ exit-status : 0
1620
1721...
Original file line number Diff line number Diff line change @@ -16,10 +16,14 @@ LABEL "org.opencontainers.image.ref.name"="{{ node_version }}-{{ os_name }}"
1616LABEL "org.opencontainers.image.title"="node-{{ node_version }}-{{ os_name }}"
1717LABEL "org.opencontainers.image.description"="node-{{ node_version }}-{{ os_name }}"
1818
19+ WORKDIR /app
20+
1921RUN set -eux; \
20- apk add \
22+ apk add --no-cache \
2123 curl \
2224 git \
25+ # For vercel/turbo
26+ libc6-compat \
2327 && /bin/ash -c 'set -ex && \
2428 ARCH=`uname -m` && \
2529 if [ "$ARCH" == "x86_64" ]; then \
@@ -32,4 +36,6 @@ RUN set -eux; \
3236 echo "unknown arch" && \
3337 curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-arm64" -o /bin/pnpm; \
3438 fi' \
35- && chmod +x /bin/pnpm
39+ && chmod +x /bin/pnpm \
40+ # https://github.com/vercel/turbo/issues/2198
41+ && yarn global add turbo
Original file line number Diff line number Diff line change @@ -13,5 +13,9 @@ command:
1313 stdout:
1414 - "7."
1515 exit-status: 0
16+ "turbo --version":
17+ stdout:
18+ - "1."
19+ exit-status: 0
1620
1721...
You can’t perform that action at this time.
0 commit comments