Skip to content

Commit 5ea0808

Browse files
committed
Update docker base images
1 parent bcdd9e0 commit 5ea0808

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15-alpine3.12 AS build
1+
FROM golang:1.16-alpine AS build
22

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

15-
FROM alpine:3.12 AS deploy
15+
FROM alpine:3.14 AS deploy
1616

1717
WORKDIR /
1818
COPY --from=build /go/src/github.com/spkane/todo-for-terraform/todo-list-server /

docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "3"
21
services:
32
todo:
43
container_name: todo

0 commit comments

Comments
 (0)