New ๐ŸŒŠ wave for @helm

Commit f4f0d82b

f4f0d82b5df9Merged

zhilyaev <[email protected]> ยท 5 years ago ยท 2 files ยท ~1 modified ยท -1 deleted

Description

refactoring

Details

Commit
f4f0d82b5df9
Parent
928b0887cc17

DockerfilemodifiedView file

@@ -4,11 +4,11 @@
44 FROM golang:${GOLANG_VERSION}-alpine${ALPINE_VERSION} AS builder
55
66 LABEL maintainer="[email protected]"
7-MAINTAINER "[email protected]"
87 LABEL name="helmwave"
98
109 # enable Go modules support
1110 ENV GO111MODULE=on
11+ENV CGO_ENABLED=0
1212
1313 WORKDIR helmwave
1414
@@ -18,7 +18,7 @@
1818 # Copy src code from the host and compile it
1919 COPY cmd cmd
2020 COPY pkg pkg
21-RUN CGO_ENABLED=0 go build -a -o /helmwave ./cmd/helmwave
21+RUN go build -a -o /helmwave ./cmd/helmwave
2222
2323 ###
2424 FROM alpine:${ALPINE_VERSION} as base-release
@@ -27,10 +27,8 @@
2727
2828 ###
2929 FROM base-release as goreleaser
30-
3130 COPY helmwave /bin/
3231
3332 ###
3433 FROM base-release
35-
3634 COPY --from=builder /helmwave /bin/