From 7ea9620405866a73cb9414612541e8ce18157f7f Mon Sep 17 00:00:00 2001 From: Yusuke_Saito Date: Mon, 21 Sep 2020 03:19:49 +0200 Subject: [PATCH] add pg_dump and mysqldump --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index d20a9a1..8f6587a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,13 @@ RUN curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - RUN apt-get -y install nodejs +RUN sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' +RUN sudo wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - +RUN apt-get update +RUN apt-get -y install postgresql-client-12 default-mysql-client + +RUN apt-get update && apt-get -y upgrade + ARG UID=1000 ARG GID=1000