Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ikrong committed Jul 9, 2024
1 parent c8a628d commit 0f5f2c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions angular/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM bitnami/git:2 AS git
FROM --platform=linux/amd64 bitnami/git:2 AS git
ARG tagName=main

WORKDIR /app

RUN git clone --depth 1 --single-branch -b $tagName https://github.com/angular/angular source

FROM node:16 AS node
FROM --platform=linux/amd64 node:16 AS node

WORKDIR /app

Expand All @@ -14,6 +14,7 @@ COPY --from=git /app/source /app/source/

RUN <<EOF
cd /app/source/
yarn global add @bazel/bazelisk
yarn install --frozen-lockfile --non-interactive
yarn bazel build //aio:build --config=release --verbose_failures
/app/tools/install.sh
Expand Down

0 comments on commit 0f5f2c9

Please sign in to comment.