Skip to content

Commit

Permalink
fix dockerfile builder image name
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Jan 23, 2022
1 parent dad860b commit 719bdcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine as golang
FROM alpine as builder
WORKDIR /app
COPY . .
ARG RELEASE_NUM
Expand All @@ -8,8 +8,8 @@ RUN zigmod ci
RUN zig build -Dversion=r${RELEASE_NUM} -Drelease

FROM alpine
COPY --from=golang /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=golang /app/zig-out/bin/aquila /app/aquila
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/zig-out/bin/aquila /app/aquila
RUN apk add git

VOLUME /data
Expand Down

0 comments on commit 719bdcc

Please sign in to comment.