From ad0b47667f98760d6a802a9d08b2da8f40d13e87 Mon Sep 17 00:00:00 2001 From: Roozbeh Farahbod Date: Tue, 4 Dec 2018 18:03:19 +0100 Subject: [PATCH] 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. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 8c811b057..489a4207a 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/