Skip to content

Commit a93bb73

Browse files
committed
Improve Dockerfile
1 parent b5045d4 commit a93bb73

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.docker/alpine.docker

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ WORKDIR /go/src/github.com/essentialkaos/sslcli
1010

1111
COPY . .
1212

13-
ENV GO111MODULE=auto
14-
1513
# hadolint ignore=DL3018
1614
RUN apk add --no-cache git make && make deps && make all
1715

@@ -27,7 +25,8 @@ LABEL org.opencontainers.image.title="sslcli" \
2725
org.opencontainers.image.url="https://kaos.sh/sslcli" \
2826
org.opencontainers.image.source="https://github.com/essentialkaos/sslcli"
2927

30-
COPY --from=builder /go/src/github.com/essentialkaos/sslcli/sslcli /usr/bin/
28+
COPY --from=builder /go/src/github.com/essentialkaos/sslcli/sslcli \
29+
/usr/bin/
3130

3231
# hadolint ignore=DL3018
3332
RUN apk add --no-cache ca-certificates

0 commit comments

Comments
 (0)