Skip to content

Commit

Permalink
Fix docker builds to deal with issue from NixOS/nix#3321
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Sep 13, 2020
1 parent f1e1bfb commit 1487483
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/build-support/docker/build-image.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

mkdir -p $out

eval "$initialCommand"

. "$utilSource"

mkdir -p $out

touch baseFiles
touch layer-list
if [[ -n "$fromImage" ]]; then
Expand Down Expand Up @@ -165,6 +167,6 @@ jshon -n object \
-i "$imageName" > $out/repositories

# Make the image read-only.
chmod -R a-w $out
chmod -R 744 $out

echo "Finished."

0 comments on commit 1487483

Please sign in to comment.