summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRoozbeh Farahbod <research@roozbeh.ca>2018-12-04 18:03:19 +0100
committerRoozbeh Farahbod <research@roozbeh.ca>2018-12-04 18:03:19 +0100
commitad0b47667f98760d6a802a9d08b2da8f40d13e87 (patch)
tree837b765395977616fd76065bbe91daa059bdf8ee /Dockerfile
parentf945910d54bd8817560d45eb135d18e4b52b6717 (diff)
downloadgitlab-ad0b47667f98760d6a802a9d08b2da8f40d13e87.tar.gz
fix: enable use of YAML in the CLI
In order to use the YAML output, PyYaml needs to be installed on the docker image. This commit adds the installation to the dockerfile as a separate layer.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8c811b0..489a420 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,7 @@ FROM python:3.7-alpine
WORKDIR /opt/python-gitlab
COPY --from=build /opt/python-gitlab/dist dist/
+RUN pip install PyYaml
RUN pip install $(find dist -name *.whl) && \
rm -rf dist/
COPY docker-entrypoint.sh /usr/local/bin/