Skip to content

Commit

Permalink
FEATURE: always update docker image for dev prior to launching
Browse files Browse the repository at this point in the history
Previously people could stay stuck on old dev images, this ensures they
are always on latest when booting
  • Loading branch information
SamSaffron committed Feb 18, 2019
1 parent 7da7a30 commit 0e6d0b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/docker/boot_dev
Expand Up @@ -64,6 +64,7 @@ mkdir -p "${DATA_DIR}"
# 9292 unicorn
# 9405 prometheus exporter

docker pull discourse/discourse_dev:release
docker run -d -p 9405:9405 -p 1080:1080 -p 3000:3000 -p 9292:9292 -v "$DATA_DIR:/shared/postgres_data:delegated" -v "$SOURCE_DIR:/src:delegated" $ENV_ARGS --hostname=discourse --name=discourse_dev --restart=always discourse/discourse_dev:release /sbin/boot

if [ "${initialize}" = "initialize" ]; then
Expand Down

0 comments on commit 0e6d0b0

Please sign in to comment.