-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use alpine:latest
- Loading branch information
Showing
4 changed files
with
8 additions
and
41 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
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,16 +1,9 @@ | ||
FROM alpine:latest | ||
|
||
ENTRYPOINT ["tbls"] | ||
WORKDIR /work | ||
VOLUME ["/work"] | ||
|
||
RUN apk add bash curl | ||
RUN apk add --no-cache bash curl git | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN set -x \ | ||
&& source <(curl -sL https://git.io/use-tbls) \ | ||
&& which tbls | xargs -I{} mv {} /usr/local/bin/tbls \ | ||
&& apk del bash curl | ||
ENTRYPOINT ["tbls"] | ||
CMD [ "-h" ] | ||
|
||
SHELL ["/bin/sh", "-c"] | ||
COPY tbls_*.apk /tmp/ | ||
RUN apk add --allow-untrusted /tmp/tbls_*.apk |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.