3 Commits
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -45,6 +45,7 @@ RUN set -xe \
sudo \
iproute2 \
vim \
wget \
libgfortran5 \
&& apt-get autoclean -y \
&& apt-get autoremove -y
+3
View File
@@ -26,6 +26,9 @@ $BuildArgs = @("-t", "piscal:$Version", "-t", "piscal:latest", "-t", "piscal:dev
if ($env:PISCAL_SSH_PASSWORD) {
$BuildArgs += "--build-arg", "SSH_PASSWORD=$($env:PISCAL_SSH_PASSWORD)"
}
if ($env:PISCAL_BUILD_NO_CACHE) {
$BuildArgs += "--no-cache"
}
docker build @BuildArgs .
if ($LASTEXITCODE -eq 0) {
+1
View File
@@ -24,6 +24,7 @@ BUILD_ARGS=(-t "piscal:${VERSION}" -t piscal:latest -t piscal:dev)
if [ -n "${PISCAL_SSH_PASSWORD:-}" ]; then
BUILD_ARGS+=(--build-arg "SSH_PASSWORD=${PISCAL_SSH_PASSWORD}")
fi
[ -n "${PISCAL_BUILD_NO_CACHE:-}" ] && BUILD_ARGS+=(--no-cache)
docker build "${BUILD_ARGS[@]}" .