Skip to content

Commit

Permalink
Merge pull request #408 from nginx-proxy/license-in-image
Browse files Browse the repository at this point in the history
Include license in Docker images
  • Loading branch information
buchdag authored Mar 9, 2022
2 parents 781ee5e + 0ac48ce commit 5816c4b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
docker-gen
dist
examples
LICENSE
Makefile
README.md
templates
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ RUN apk add --no-cache --virtual .bin-deps openssl
# Install docker-gen from build stage
COPY --from=go-builder /build/docker-gen /usr/local/bin/docker-gen

# Copy the license
COPY LICENSE /usr/local/share/doc/docker-gen/

ENTRYPOINT ["/usr/local/bin/docker-gen"]
3 changes: 3 additions & 0 deletions Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ RUN apt-get update \
# Install docker-gen from build stage
COPY --from=go-builder /build/docker-gen /usr/local/bin/docker-gen

# Copy the license
COPY LICENSE /usr/local/share/doc/docker-gen/

ENTRYPOINT ["/usr/local/bin/docker-gen"]

0 comments on commit 5816c4b

Please sign in to comment.