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:
parent
98e6393274
commit
58d130ee37
4 changed files with 43 additions and 56 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue