We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcdd9e0 commit 5ea0808Copy full SHA for 5ea0808
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM golang:1.15-alpine3.12 AS build
+FROM golang:1.16-alpine AS build
2
3
RUN apk --no-cache add \
4
bash \
@@ -12,7 +12,7 @@ WORKDIR /go/src/github.com/spkane/todo-for-terraform
12
ADD . /go/src/github.com/spkane/todo-for-terraform
13
RUN go build -mod=vendor --ldflags '-linkmode external -extldflags "-static"' ./cmd/todo-list-server
14
15
-FROM alpine:3.12 AS deploy
+FROM alpine:3.14 AS deploy
16
17
WORKDIR /
18
COPY --from=build /go/src/github.com/spkane/todo-for-terraform/todo-list-server /
docker-compose.yaml
@@ -1,4 +1,3 @@
-version: "3"
services:
todo:
container_name: todo
0 commit comments