Skip to content

Commit

Permalink
Bump go version for alpine container (getsops#870)
Browse files Browse the repository at this point in the history
* Also build containers in CI
  • Loading branch information
ikedam committed Jul 22, 2021
1 parent 5af8e63 commit 6d81a5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
command: |
docker build -t mozilla/sops .
docker tag mozilla/sops "mozilla/sops:$CIRCLE_SHA1"
- run:
name: Build containers (alpine)
command: |
# Just to ensure the container can be built.
docker build -f Dockerfile.alpine -t mozilla/sops:alpine .
push:
machine: true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.12-alpine3.10 AS builder
FROM golang:1.15-alpine3.14 AS builder

RUN apk --no-cache add make

Expand All @@ -8,7 +8,7 @@ WORKDIR /go/src/go.mozilla.org/sops
RUN CGO_ENABLED=1 make install


FROM alpine:3.10
FROM alpine:3.14

RUN apk --no-cache add \
vim ca-certificates
Expand Down

0 comments on commit 6d81a5b

Please # to comment.