-
-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add native ARM runner * Switch to arch-agnostic manifest digest * Set correct latest tag
- Loading branch information
Showing
2 changed files
with
18 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:18.18.2-bullseye-slim@sha256:a50436b44fe3eb2ff72696fb394ad3cae45f06cb2a7468c5ef3f012d23d9888f AS pruner | ||
FROM node:18.18.2-bullseye-slim@sha256:21479df46c3173ee0cefc6b264928e10239152c4f74df872ca9369be01a245b7 AS pruner | ||
|
||
WORKDIR /triggerdotdev | ||
|
||
|
@@ -7,7 +7,7 @@ RUN npx -q [email protected] prune --scope=webapp --docker | |
RUN find . -name "node_modules" -type d -prune -exec rm -rf '{}' + | ||
|
||
# Base strategy to have layer caching | ||
FROM node:18.18.2-bullseye-slim@sha256:a50436b44fe3eb2ff72696fb394ad3cae45f06cb2a7468c5ef3f012d23d9888f AS base | ||
FROM node:18.18.2-bullseye-slim@sha256:21479df46c3173ee0cefc6b264928e10239152c4f74df872ca9369be01a245b7 AS base | ||
RUN apt-get update && apt-get install -y openssl dumb-init | ||
WORKDIR /triggerdotdev | ||
COPY --chown=node:node .gitignore .gitignore | ||
|
@@ -50,7 +50,7 @@ RUN pnpm run generate | |
RUN pnpm run build --filter=webapp... | ||
|
||
# Runner | ||
FROM node:18.18.2-bullseye-slim@sha256:a50436b44fe3eb2ff72696fb394ad3cae45f06cb2a7468c5ef3f012d23d9888f AS runner | ||
FROM node:18.18.2-bullseye-slim@sha256:21479df46c3173ee0cefc6b264928e10239152c4f74df872ca9369be01a245b7 AS runner | ||
RUN apt-get update && apt-get install -y openssl | ||
WORKDIR /triggerdotdev | ||
RUN corepack enable | ||
|