Skip to content

Commit

Permalink
build: move docker labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse0Michael committed Sep 15, 2023
1 parent 6bff68c commit be7180e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM golang:1.21-alpine AS build

LABEL org.opencontainers.image.source "https://github.com/jesse0michael/go-rest-assurede"
LABEL org.opencontainers.image.description "Docker image for the GO Rest Assured client to mock and validate your calls to REST API's"

# Copy project files
WORKDIR /go/src
COPY go.mod .
Expand All @@ -24,6 +21,9 @@ RUN go build -o go-rest-assured ./cmd/go-assured
# Build final application
FROM gcr.io/distroless/static AS app

LABEL org.opencontainers.image.source "https://github.com/jesse0michael/go-rest-assured"
LABEL org.opencontainers.image.description "Docker image for the GO Rest Assured client to mock and validate your calls to REST API's"

COPY --from=build /go/src/go-rest-assured ./

ENTRYPOINT ["./go-rest-assured"]

0 comments on commit be7180e

Please sign in to comment.