-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VERSION argument to python packages
First step in fixing #33
- Loading branch information
Showing
9 changed files
with
32 additions
and
9 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
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
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,4 +1,5 @@ | ||
FROM python:3-alpine | ||
RUN pip install httpie | ||
ARG VERSION=2.0.0 | ||
RUN pip install httpie${VERSION+==$VERSION} | ||
RUN mkdir /.httpie && echo "{}" > /.httpie/config.json | ||
ENTRYPOINT ["http"] |
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,3 +1,7 @@ | ||
FROM alpine | ||
RUN apk add --no-cache jq | ||
FROM alpine as build | ||
ARG VERSION=1.6 | ||
RUN wget -O /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-${VERSION}/jq-linux64 && \ | ||
chmod +x /usr/local/bin/jq | ||
FROM scratch | ||
COPY --from=build /usr/local/bin/jq /usr/local/bin/jq | ||
ENTRYPOINT ["jq"] |
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,3 +1,4 @@ | ||
FROM python:3-alpine | ||
RUN pip install proselint | ||
ARG VERSION= | ||
RUN pip install proselint${VERSION+==$VERSION} | ||
ENTRYPOINT ["proselint"] |
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,3 +1,4 @@ | ||
FROM python:3-alpine | ||
RUN pip install pygments | ||
ARG VERSION=2.6.1 | ||
RUN pip install pygments${VERSION+==$VERSION} | ||
ENTRYPOINT ["pygmentize"] |
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,4 +1,5 @@ | ||
FROM python:3-alpine | ||
RUN apk add --no-cache ffmpeg | ||
RUN pip install youtube-dl | ||
ARG VERSION=2020.3.8 | ||
RUN pip install --no-cache-dir youtube-dl${VERSION+==$VERSION} | ||
ENTRYPOINT ["youtube-dl"] |