Skip to content

Commit ad0b476

Browse files
committed
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.
1 parent f945910 commit ad0b476

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ FROM python:3.7-alpine
88

99
WORKDIR /opt/python-gitlab
1010
COPY --from=build /opt/python-gitlab/dist dist/
11+
RUN pip install PyYaml
1112
RUN pip install $(find dist -name *.whl) && \
1213
rm -rf dist/
1314
COPY docker-entrypoint.sh /usr/local/bin/

0 commit comments

Comments
 (0)