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.
|
# Add util-linux to get a new version of losetup.
|
||||||
RUN apk add util-linux
|
RUN apk add util-linux
|
||||||
COPY ./bin/katboxplugin /katboxplugin
|
COPY ./bin/katbox-driver /katbox-driver
|
||||||
ENTRYPOINT ["/katboxplugin"]
|
ENTRYPOINT ["/katbox-driver"]
|
||||||
|
|
9
Makefile
9
Makefile
|
@ -23,16 +23,19 @@ clean:
|
||||||
-rm -rf bin
|
-rm -rf bin
|
||||||
|
|
||||||
build:
|
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-katbox:
|
||||||
docker build . --tag quay.io/katbox/katboxplugin:${VERSION} --no-cache
|
docker build . --tag quay.io/katbox/katboxplugin:${VERSION} --no-cache
|
||||||
|
|
||||||
docker-push-katbox:
|
docker-push-katbox:
|
||||||
docker push quay.io/katbox/katboxplugin:${VERSION}
|
docker push quay.io/katbox/katboxplugin:${VERSION}
|
||||||
|
|
||||||
docker-build-stream:
|
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-stream:
|
||||||
docker push quay.io/katbox/stream:${VERSION}
|
docker push quay.io/katbox/stream:${VERSION}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue