Skip to content

Commit

Permalink
ods_ci/build/Dockerfile: update to give HOME read/write access to the…
Browse files Browse the repository at this point in the history
… user (#813)
  • Loading branch information
kpouget authored Jun 20, 2023
1 parent 5d4601e commit 1d28568
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ods_ci/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ COPY ods_ci/configs/resources/oauth_ldap_idp.json ods_ci/configs/resources/oauth
COPY ods_ci/configs/templates/ca-rolebinding.yaml ods_ci/configs/templates/ca-rolebinding.yaml
COPY ods_ci/utils/scripts/ocm/templates/create_ldap_idp.jinja ods_ci/utils/scripts/ocm/templates/create_ldap_idp.jinja
RUN chmod +x ods_ci/build/run.sh &&\
chmod +x ods_ci/build/clean_idp.sh &&\
chmod 775 . # writing permissions for ods-ci.log
chmod +x ods_ci/build/clean_idp.sh

COPY pyproject.toml .
COPY poetry.lock .
COPY README.md .
Expand All @@ -61,5 +61,8 @@ RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="${PATH}:$HOME/.local/bin"
RUN poetry install

RUN chgrp -R 0 . && \
chmod -R g=u .


ENTRYPOINT ["./ods_ci/build/run.sh"]

0 comments on commit 1d28568

Please sign in to comment.