Skip to content

Commit

Permalink
🐳 Add git and yq to container
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 29, 2022
1 parent 7e1706d commit 951641a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ RUN set -x \


FROM alpine
LABEL org.opencontainers.image.source https://github.com/clevyr/go-yampl
WORKDIR /data

RUN apk add --no-cache yq git

COPY --from=builder /app/yampl /usr/local/bin/
LABEL org.opencontainers.image.source https://github.com/clevyr/go-yampl

ENTRYPOINT ["yampl"]
6 changes: 5 additions & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM alpine
LABEL org.opencontainers.image.source https://github.com/clevyr/go-yampl
WORKDIR /data

RUN apk add --no-cache git yq

COPY yampl /usr/local/bin
LABEL org.opencontainers.image.source https://github.com/clevyr/go-yampl

CMD ["yampl"]

0 comments on commit 951641a

Please sign in to comment.