Changes the name of the files created in order to disambiguate. Updates Dockerfile to reflect the change.
This commit is contained in:
parent
60c46865d4
commit
ea11478084
2 changed files with 8 additions and 5 deletions
|
@ -4,5 +4,5 @@ LABEL description="Katbox Driver"
|
|||
|
||||
# Add util-linux to get a new version of losetup.
|
||||
RUN apk add util-linux
|
||||
COPY ./bin/katboxplugin /katboxplugin
|
||||
ENTRYPOINT ["/katboxplugin"]
|
||||
COPY ./bin/katbox-driver /katbox-driver
|
||||
ENTRYPOINT ["/katbox-driver"]
|
||||
|
|
7
Makefile
7
Makefile
|
@ -23,7 +23,10 @@ clean:
|
|||
-rm -rf bin
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/katboxplugin ./cmd/katboxplugin/main.go
|
||||
CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build -a -ldflags '-X main.version=$(REV) -extldflags "-static"' -o ./bin/katbox-driver ./cmd/katboxplugin/main.go
|
||||
|
||||
build-stream:
|
||||
CGO_ENABLED=0 GOOS="linux" GOARCH="amd64" go build -o ./bin/katbox-stream ./stream/main.go
|
||||
|
||||
docker-build-katbox:
|
||||
docker build . --tag quay.io/katbox/katboxplugin:${VERSION} --no-cache
|
||||
|
@ -32,7 +35,7 @@ docker-push-katbox:
|
|||
docker push quay.io/katbox/katboxplugin:${VERSION}
|
||||
|
||||
docker-build-stream:
|
||||
docker build ./stream --tag quay.io/katbox/stream:${VERSION} --no-cache
|
||||
docker build . -f ./stream/Dockerfile --tag quay.io/katbox/stream:${VERSION} --no-cache
|
||||
|
||||
docker-push-stream:
|
||||
docker push quay.io/katbox/stream:${VERSION}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue