summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-01-15 11:26:27 +0100
committerYorhel <git@yorhel.nl>2021-01-15 11:32:58 +0100
commit5d660e60ed2d1f9aa04f8e4424a7856fdd6529d7 (patch)
tree82e0cce2befa1e8c037cd6bd376c6f10db6ab8a3 /util
parentb9a18eea2d1b4f09020a6391e7f173fb43b4f4f8 (diff)
Docker: Upgrade to Alpine 3.13
I was waiting for a new stable release so we can get Postgres 13, which I've already been using in my own dev & prod environments. I don't think Postgres 13 specific features are being used yet, but that will no doubt change. Image::Magick removed as it isn't used anymore. The image is somewhat more bloated, though, as postgresql-dev pulls in llvm+clang now.
Diffstat (limited to 'util')
-rwxr-xr-xutil/docker-init.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/docker-init.sh b/util/docker-init.sh
index 42ff99a9..8f0ef9b6 100755
--- a/util/docker-init.sh
+++ b/util/docker-init.sh
@@ -45,11 +45,11 @@ installvndbid() {
# Should run as devuser
pg_start() {
- if [ ! -d /var/www/data/docker-pg/12 ]; then
- mkdir -p /var/www/data/docker-pg/12
- initdb -D /var/www/data/docker-pg/12 --locale en_US.UTF-8 -A trust
+ if [ ! -d /var/www/data/docker-pg/13 ]; then
+ mkdir -p /var/www/data/docker-pg/13
+ initdb -D /var/www/data/docker-pg/13 --locale en_US.UTF-8 -A trust
fi
- pg_ctl -D /var/www/data/docker-pg/12 -l /var/www/data/docker-pg/12/logfile start
+ pg_ctl -D /var/www/data/docker-pg/13 -l /var/www/data/docker-pg/13/logfile start
cd /var/www
if test -f data/docker-pg/vndb-init-done; then