Skip to content

Commit

Permalink
build(docker): work around Windows Git Bash build image issues
Browse files Browse the repository at this point in the history
Permission denied errors. Still there, but the build completes.
  • Loading branch information
thewtex committed Feb 27, 2024
1 parent 835794b commit 9f09c44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
3 changes: 1 addition & 2 deletions src/docker/itk-wasm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ COPY web-build /usr/local/bin/

# Trigger Emscripten to cache builds of required system libraries
ADD median-filter-pipelineCopy /median-filter-pipelineCopy
ADD populate-cache.sh /usr/local/bin/populate-cache.sh
RUN /usr/local/bin/populate-cache.sh && rm /usr/local/bin/populate-cache.sh
RUN if [ $BASE_IMAGE = "itkwasm/emscripten-base" ]; then cd /median-filter-pipelineCopy; /usr/local/bin/web-build emscripten-build -DCMAKE_EXE_LINKER_FLAGS='-flto=thin -s DISABLE_EXCEPTION_CATCHING=0'; rm -rf ./web-build; /usr/local/bin/web-build emscripten-build -DCMAKE_EXE_LINKER_FLAGS='-flto -s DISABLE_EXCEPTION_CATCHING=0'; rm -rf ./web-build; /usr/local/bin/web-build emscripten-build -DCMAKE_EXE_LINKER_FLAGS='-fno-lto -s DISABLE_EXCEPTION_CATCHING=1'; rm -rf /median-filter-pipelineCopy; chmod -R 777 /emsdk/upstream/emscripten/cache; fi

# Build-time metadata as defined at http://label-schema.org
ARG BUILD_DATE
Expand Down
16 changes: 0 additions & 16 deletions src/docker/itk-wasm/populate-cache.sh

This file was deleted.

0 comments on commit 9f09c44

Please sign in to comment.