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 7870c71 commit 719272cCopy full SHA for 719272c
Dockerfile
@@ -1,10 +1,10 @@
1
-FROM golang:1.10-alpine3.7 AS builder
+FROM golang:alpine AS builder
2
WORKDIR /go/src/github.com/wzshiming/pic2ascii/
3
COPY . .
4
RUN apk add -U gcc libc-dev ffmpeg-dev ffmpeg-libs
5
-RUN go install -tags support_video -a -ldflags '-s -w' ./cmd/...
+RUN go install -tags support_video -a -ldflags '-s -w' ./cmd/...
6
7
-FROM alpine:3.7
+FROM alpine
8
COPY --from=builder /go/bin/pic2ascii /usr/local/bin/
9
RUN apk add -U --no-cache ffmpeg-libs
10
ENTRYPOINT [ "pic2ascii" ]
0 commit comments