1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(buildscripts): make build process more closely resemble EE (#8881)

This commit is contained in:
Matt Hook 2023-05-03 17:13:28 +12:00 committed by GitHub
parent 98e6393274
commit 58d130ee37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 56 deletions

View file

@ -1,13 +1,11 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
PORTAINER_DATA=${PORTAINER_DATA:-/tmp/portainer}
PORTAINER_PROJECT=${PORTAINER_PROJECT:-$(pwd)}
PORTAINER_FLAGS=${PORTAINER_FLAGS:-}
PORTAINER_DATA=${PORTAINER_DATA:-/tmp/portainer};
PORTAINER_PROJECT=${PORTAINER_PROJECT:-$(pwd)};
PORTAINER_FLAGS=${PORTAINER_FLAGS:-};
docker rm -f portainer
docker rm -f portainer > /dev/null
docker run -d \
-p 8000:8000 \
@ -20,4 +18,4 @@ docker run -d \
-v /tmp:/tmp \
--name portainer \
portainer/base \
/app/portainer "${@:PORTAINER_FLAGS}"
/app/portainer ${PORTAINER_FLAGS}