Skip to content

Commit

Permalink
Try with readwrite mount flag, undo submodule setup in script
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhan12 committed Jun 27, 2024
1 parent b754c69 commit b4971f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/tpl-ubuntu-gcc.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ RUN apt-get install -y --no-install-recommends \
# -k flag is to ignore SSL errors
#RUN --mount=src=.,dst=$SRC_DIR cd GEOS && \
# mkdir -p ${GEOSX_TPL_DIR} && \
RUN --mount=src=.,dst=$SRC_DIR cd ${SRC_DIR} && \
RUN --mount=src=.,dst=$SRC_DIR,readwrite cd ${SRC_DIR} && \
mkdir -p ${GEOSX_TPL_DIR} && \
# git submodule init scripts/uberenv && \
# git submodule update && \
git submodule init scripts/uberenv && \
git submodule update && \
./scripts/uberenv/uberenv.py \
--spec "%gcc@${GCC_MAJOR_VERSION} +docs" \
--spack-env-file=${SRC_DIR}/docker/spack.yaml \
Expand Down
3 changes: 0 additions & 3 deletions scripts/docker-build-and-push.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/bash
env

# Setup uberenv
git submodule update --init scripts/uberenv

# We save memory for the docker context
echo .git > .dockerignore
# This script will build and push a DOCKER_REPOSITORY:DOCKER_TAG image build from DOCKERFILE
Expand Down

0 comments on commit b4971f7

Please sign in to comment.