We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8d5b50 commit 4a59147Copy full SHA for 4a59147
2 files changed
.gitignore
@@ -1,2 +1,4 @@
1
.direnv
2
-tmp
+.tmp
3
+authfile.json
4
+secrets
ghc/builder.sh
@@ -191,14 +191,12 @@ buildah config \
191
#
192
# On systems where `/var/tmp` is mounted as `tmpfs`, this can cause `buildah` to
193
# run out of space.
194
-#
195
-# In this case, create some `./tmp` directory and use it with `TMPDIR=./tmp`
196
-# before running `buildah commit`.
197
198
-# e.g. Uncomment the following:
199
200
mkdir -p ./tmp
201
TMPDIR=./tmp \
202
- buildah \
203
- --signature-policy=./policy.json \
204
- commit --rm "${container}" "${image}:${ghc_version}"
+ image_id=$(
+ buildah \
+ --signature-policy=./policy.json \
+ commit --rm "${container}" "${image}:${ghc_version}"
+ )
+rm -rf ./tmp
+echo "${image_id}"
0 commit comments