Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6a1c93a

Browse files
committed
cache busting when building custom images
fixed undefined dir name in error message
1 parent e541e22 commit 6a1c93a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ docker build -t $BUILDNAME \
138138
#Build custom images based on the previously built image
139139

140140
if [ ! -z "$CUSTOMIZE" ] && [ ! -d "$PWD/custom/$CUSTOMIZE" ]; then
141-
warning "Folder ${i} can't be built. Folder missing!"
141+
warning "Folder ${CUSTOMIZE} can't be built. Folder missing!"
142142
exit 1
143143
fi
144144

@@ -162,6 +162,7 @@ if [ -d "$PWD/custom" ]; then
162162
docker build -t $i \
163163
-f "${DOCKERFILE_PATH}" \
164164
--build-arg BUILD_FROM="${BUILDNAME}" \
165+
--no-cache \
165166
"$BUILD_DIR/$i"
166167

167168
else

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /