Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
dev.Dockerfile: install editable, update to f35
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiouxme committed Jul 19, 2022
1 parent ac73293 commit 76fcf8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .devcontainer/dev.Dockerfile
@@ -1,4 +1,4 @@
FROM fedora:34
FROM fedora:35

# Trust the Red Hat IT Root CA and set up rcm-tools repo
RUN curl -o /etc/pki/ca-trust/source/anchors/RH-IT-Root-CA.crt --fail -L \
Expand Down Expand Up @@ -51,11 +51,11 @@ RUN groupadd --gid "$USER_GID" "$USERNAME" \
COPY .devcontainer/krb5-redhat.conf /etc/krb5.conf.d/

# Preinstall dependencies
COPY ./ /tmp/doozer/
RUN chown "$USERNAME" -R /tmp/doozer \
&& pushd /tmp/doozer \
&& sudo -u "$USERNAME" pip3 install --user -r ./requirements.txt -r requirements-dev.txt ./ \
&& popd && rm -rf /tmp/doozer
COPY ./* /workspaces/doozer/
RUN chown "$USERNAME" -R /workspaces/doozer \
&& cd /workspaces/doozer \
&& sudo -u "$USERNAME" pip3 install --user -r ./requirements.txt -r requirements-dev.txt \
&& sudo -u "$USERNAME" pip3 install --user -e ./

USER "$USER_UID"
WORKDIR /workspaces/doozer

0 comments on commit 76fcf8a

Please sign in to comment.