Skip to content

Commit

Permalink
add subdirectories in the elm-fates image dockerfile
Browse files Browse the repository at this point in the history
This simplifies the handling of docker compose volume mounting
  • Loading branch information
glemieux committed Aug 29, 2024
1 parent 6c06184 commit 0dad100
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker/elm/elm_v3-for-ngee/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@ RUN wget $HLM_REPOSITORY_URL/archive/refs/tags/$HLM_TAG.tar.gz \
&& chmod -R 777 /E3SM \
&& export USER=${USER}

# add inventory data subdirectories
RUN cd /inventorydata \
&& mkdir -p bci\
&& mkdir -p inventory_ctrl \
&& mkdir -p userdata \
&& chown $USER bci \
&& chown $USER inventory_ctrl \
&& chown $USER userdata

# Set user
USER ${USER}
RUN export USER=${USER}
Expand Down

0 comments on commit 0dad100

Please sign in to comment.