summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2018-05-03 18:48:46 +0200
committerYorhel <git@yorhel.nl>2018-05-03 18:57:11 +0200
commit1f0d541feae8ce2a715ff17068d5bc5712da69b9 (patch)
tree5cda6d17d4f9098c19713fd9b403a9aeb494bd16 /Dockerfile
parent7346cd7ce251287c403207739864d61695ff6bde (diff)
Docker: Update to Ubuntu Bionic + Postgres 10 !ACTION REQUIRED!
If you don't really care about the data in your Docker's Postgres DB, then you can just update with: docker volume rm vndb-data docker volume create --name vndb-data docker build --pull --no-cache -t vndb . If you do want to keep your data, the process is roughly as follows: - Do a pg_dumpall from your current docker image to save the data. - Run the above commands to upgrade - Import the database in the new docker image (cherry picked from commit c278eec720b78624580f844d8289ddb575035138)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index faf90437..3c3d2027 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:rolling
+FROM ubuntu:bionic
MAINTAINER Yoran Heling <contact@vndb.org>
RUN apt-get update
@@ -6,7 +6,7 @@ RUN apt-get update
RUN apt-get install -y locales && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
-RUN apt-get install -y --no-install-recommends \
+RUN apt-get install -y tzdata && apt-get install -y --no-install-recommends \
build-essential \
cpanminus \
git \