Skip to content

Commit

Permalink
fix me 5
Browse files Browse the repository at this point in the history
  • Loading branch information
DanStough committed Oct 6, 2023
1 parent e468d8b commit 3622eb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FROM gcr.io/distroless/static-debian12:nonroot as default
ARG TARGETOS
ARG TARGETARCH
ARG PRODUCT_VERSION
ARG BIN_NAME

LABEL name="http-echo" \
maintainer="HashiCorp Consul Team <[email protected]>" \
Expand All @@ -16,6 +17,7 @@ LABEL name="http-echo" \
summary="A test webserver that echos a response. You know, for kids."

COPY dist/$TARGETOS/$TARGETARCH/$BIN_NAME /
RUN ls /

EXPOSE 5678/tcp

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ dev: bin

# Docker Stuff.
export DOCKER_BUILDKIT=1
BUILD_ARGS = PRODUCT_VERSION=$(VERSION)
BUILD_ARGS = BIN_NAME=http-echo PRODUCT_VERSION=$(VERSION)
TAG = $(NAME):local
BA_FLAGS = $(addprefix --build-arg=,$(BUILD_ARGS))
FLAGS = --platform $(PLATFORM) --tag $(TAG) $(BA_FLAGS)
Expand Down

0 comments on commit 3622eb5

Please sign in to comment.