Skip to content

Commit

Permalink
specify alpine version instead of edge
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed Mar 26, 2020
1 parent 698322b commit 2675497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:edge as builder
FROM alpine:3.11 as builder

RUN apk update && \
apk add \
Expand Down Expand Up @@ -45,7 +45,7 @@ WORKDIR /deps/clang-10.0.0.src/build
RUN cmake .. -DCMAKE_INSTALL_PREFIX=/deps/local -DCMAKE_PREFIX_PATH=/deps/local -DCMAKE_BUILD_TYPE=Release
RUN make $MAKE_JOBS install

FROM alpine:edge
FROM alpine:3.11
RUN apk update && \
apk add \
gcc \
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ docker run --rm -it --mount type=bind,source="$(pwd)",target=/z ziglang/static-b
This only needs to be done if we need to tweak the build environment, or if
we update the LLVM or Clang dependencies.

Decide whether to bump the base alpine image version.

```
docker build --build-arg MAKE_JOBS=-j$(nproc) -t ziglang/static-base:llvm10-$(uname -m)-1 .
docker push ziglang/static-base:llvm10-$(uname -m)-1
Expand Down

0 comments on commit 2675497

Please sign in to comment.