diff options
author | Roozbeh Farahbod <research@roozbeh.ca> | 2018-12-04 18:03:19 +0100 |
---|---|---|
committer | Roozbeh Farahbod <research@roozbeh.ca> | 2018-12-04 18:03:19 +0100 |
commit | ad0b47667f98760d6a802a9d08b2da8f40d13e87 (patch) | |
tree | 837b765395977616fd76065bbe91daa059bdf8ee | |
parent | f945910d54bd8817560d45eb135d18e4b52b6717 (diff) | |
download | gitlab-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.
-rw-r--r-- | Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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/ |