chore: suppress dos2unix stderr output during Dockerfile builds

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-08-05 23:41:03 -04:00
1 parent 3f2079b4ea
commit a68234bdf4
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ trigger-builder-dockerfile-builder-build() {
fi fi
# extract first port from Dockerfile # extract first port from Dockerfile
dos2unix Dockerfile suppress_output dos2unix Dockerfile
local DOCKERFILE_PORTS=$(get_dockerfile_exposed_ports Dockerfile) local DOCKERFILE_PORTS=$(get_dockerfile_exposed_ports Dockerfile)
[[ -n "$DOCKERFILE_PORTS" ]] && config_set --no-restart "$APP" DOKKU_DOCKERFILE_PORTS="$DOCKERFILE_PORTS" [[ -n "$DOCKERFILE_PORTS" ]] && config_set --no-restart "$APP" DOKKU_DOCKERFILE_PORTS="$DOCKERFILE_PORTS"
plugn trigger pre-build-dockerfile "$APP" plugn trigger pre-build-dockerfile "$APP"