Last active
August 3, 2020 10:16
-
-
Save wh13371/71d161e7690190833c1d485e0901cb34 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# | |
# A "httpie" container | |
# | |
# docker build --network host -t wh13371/httpie . | |
# docker login | |
# docker push wh13371/httpie | |
# docker run -it --rm --network host wh13371/httpie | |
# Usage: / # http 10.20.30.40:46664 | |
# | |
FROM alpine:latest | |
RUN apk add --no-cache py-pip && \ | |
pip3 install --upgrade pip setuptools httpie && \ | |
rm -r /root/.cache | |
ENTRYPOINT [ "/bin/ash" ] |
Author
wh13371
commented
Aug 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment