mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 05:27:23 +00:00
Change the name of the placeholder-name CLI to placeholder-name-server
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -32,15 +32,15 @@ COPY pkg ./pkg
|
||||
COPY tools ./tools
|
||||
COPY hack ./hack
|
||||
# Build the executable binary
|
||||
RUN GOOS=linux GOARCH=amd64 go build -ldflags "$(hack/get-ldflags.sh)" -o out ./...
|
||||
RUN GOOS=linux GOARCH=amd64 go build -ldflags "$(hack/get-ldflags.sh)" -o out ./cmd/placeholder-name-server/...
|
||||
|
||||
FROM alpine:latest
|
||||
# Install CA certs and some tools for debugging
|
||||
RUN apk --update --no-cache add ca-certificates bash curl
|
||||
WORKDIR /root/
|
||||
# Copy the binary from the build-env stage
|
||||
COPY --from=build-env /work/out/placeholder-name placeholder-name
|
||||
COPY --from=build-env /work/out/placeholder-name-server placeholder-name-server
|
||||
# Document the port
|
||||
EXPOSE 443
|
||||
# Set the command
|
||||
CMD ["./placeholder-name"]
|
||||
CMD ["./placeholder-name-server"]
|
||||
|
||||
Reference in New Issue
Block a user