-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3ffabb
commit 4cbff0f
Showing
1 changed file
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
FROM alpine:3.13 | ||
RUN apk --no-cache add ca-certificates shadow | ||
COPY dockertags /usr/local/bin/dockertags | ||
RUN addgroup -S docker && adduser -S -G docker dockertags | ||
USER dockertags | ||
ENTRYPOINT ["dockertags"] | ||
FROM scratch | ||
COPY dockertags /dockertags | ||
ENTRYPOINT ["/dockertags"] |