Skip to content

Commit

Permalink
Update docker base images
Browse files Browse the repository at this point in the history
  • Loading branch information
spkane committed Jul 31, 2021
1 parent bcdd9e0 commit 5ea0808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15-alpine3.12 AS build
FROM golang:1.16-alpine AS build

RUN apk --no-cache add \
bash \
Expand All @@ -12,7 +12,7 @@ WORKDIR /go/src/github.com/spkane/todo-for-terraform
ADD . /go/src/github.com/spkane/todo-for-terraform
RUN go build -mod=vendor --ldflags '-linkmode external -extldflags "-static"' ./cmd/todo-list-server

FROM alpine:3.12 AS deploy
FROM alpine:3.14 AS deploy

WORKDIR /
COPY --from=build /go/src/github.com/spkane/todo-for-terraform/todo-list-server /
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
todo:
container_name: todo
Expand Down

0 comments on commit 5ea0808

Please sign in to comment.