Skip to content

Instantly share code, notes, and snippets.

@wh13371
Last active August 3, 2020 10:16
Show Gist options
  • Save wh13371/71d161e7690190833c1d485e0901cb34 to your computer and use it in GitHub Desktop.
Save wh13371/71d161e7690190833c1d485e0901cb34 to your computer and use it in GitHub Desktop.
#
# 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" ]
@wh13371
Copy link
Author

wh13371 commented Aug 3, 2020

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment