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 f06a84e commit dbd0f8fCopy full SHA for dbd0f8f
Dockerfile
@@ -2,7 +2,7 @@ FROM golang:1.9.4-alpine3.7
2
3
ENV BIN=gosec
4
5
-COPY dist/linux_amd64/$BIN /go/bin/$BIN
+COPY $BIN /go/bin/$BIN
6
COPY docker-entrypoint.sh /usr/local/bin
7
8
ENTRYPOINT ["docker-entrypoint.sh"]
Makefile
@@ -28,7 +28,7 @@ release: bootstrap
28
@echo "Releasing the gosec binary..."
29
goreleaser release
30
31
-image: release
+image: build
32
@echo "Building the Docker image..."
33
docker build -t $(IMAGE_REPO)/$(BIN):$(GIT_TAG) .
34
docker tag $(IMAGE_REPO)/$(BIN):$(GIT_TAG) $(IMAGE_REPO)/$(BIN):latest
0 commit comments