forked from Managed-App/httpie.action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (22 loc) · 912 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3
LABEL name="HTTP client for GitHub Actions"
LABEL version="1.0.3"
LABEL repository="http://github.com/swinton/httpie.action"
LABEL homepage="http://github.com/swinton/httpie.action"
LABEL maintainer="Steve Winton <stevewinton@gmail.com>"
LABEL com.github.actions.name="HTTP client"
LABEL com.github.actions.description="A general purpose HTTP client for GitHub Actions providing human-friendly interactions with third-party web services."
LABEL com.github.actions.icon="send"
LABEL com.github.actions.color="gray-dark"
WORKDIR /
COPY "entrypoint.sh" "Pipfile" "Pipfile.lock" /
COPY "config.json" /.httpie/
RUN apt-get update -y && \
apt-get install -y --no-install-recommends jq && \
rm -rf /var/lib/apt/lists/* && \
pip install --upgrade pip && \
pip install pipenv && \
pipenv install --deploy --system
ENV HTTPIE_CONFIG_DIR /.httpie
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--help"]