Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Commit 9cff9db

Browse files
committed
update dockerfile
1 parent c060e25 commit 9cff9db

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.git
2+
.github
3+
.gitignore
4+
.goreleaser.yml
5+
README.md

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15.2-alpine as builder
1+
FROM golang:1.15.2-buster as builder
22
ENV CGO_ENABLED 0
33
ENV GOOS linux
44
ENV GOARCH amd64
@@ -7,6 +7,6 @@ WORKDIR /go/src/github.com/kohbis/dimg/
77
COPY . .
88
RUN go build
99

10-
FROM alpine:3.11
10+
FROM alpine:3.12 as runner
1111
COPY --from=builder /go/src/github.com/kohbis/dimg/dimg /usr/local/bin/dimg
1212
ENTRYPOINT ["dimg"]

0 commit comments

Comments
 (0)