-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (29 loc) · 1.17 KB
/
Dockerfile
File metadata and controls
38 lines (29 loc) · 1.17 KB
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
30
31
32
33
34
35
36
37
38
# ====================================================================== #
# xUnit Slack Reporter Docker Image
# ====================================================================== #
# Base image
# ---------------------------------------------------------------------- #
FROM python:3.7.3
LABEL MAINTAINER="Ivan Lee"
# Labels
# ---------------------------------------------------------------------- #
LABEL "version"="1.0.0"
LABEL "repository"="http://github.com/ivanklee86/xunit-slack-reporter"
LABEL "homepage"="http://github.com/ivanklee86/xunit-slack-reporter"
LABEL "maintainer"="Ivan Lee <ivanklee86@gmail.com>"
LABEL "com.github.actions.name"="Intermediate build."
LABEL "com.github.actions.description"="Wraps Python/Pipenv for Github Actions."
LABEL "com.github.actions.icon"="package"
LABEL "com.github.actions.color"="blue"
# Container setup
# ---------------------------------------------------------------------- #
COPY entrypoint.sh /
# Image settings
ENV LC_ALL C.UTF-8
ENV LANG =C.UTF-8
ENV PIPENV_VENV_IN_PROJECT true
# Python
RUN pip install pipenv
# Start service
# ---------------------------------------------------------------------- #
ENTRYPOINT [ "/entrypoint.sh" ]