From a7bb52e7b3edc70ffb14c2d5de514e960f02d814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Van=20Rompay?= Date: Fri, 18 Dec 2020 21:54:59 +0100 Subject: [PATCH 1/3] add missing deps in dev Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c73fff55..f29551792 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM bitwalker/alpine-elixir:latest RUN apk add inotify-tools postgresql-client yarn file -RUN apk add --no-cache make gcc libc-dev argon2 imagemagick +RUN apk add --no-cache make gcc libc-dev argon2 imagemagick cmake build-base RUN mix local.hex --force && mix local.rebar --force From 8a4369b0f329e3402539ece973311e4908935bcd Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 21 Dec 2020 10:08:30 +0100 Subject: [PATCH 2/3] Add missing deps to Dockerfile Signed-off-by: Thomas Citharel --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f29551792..01cde6868 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM bitwalker/alpine-elixir:latest -RUN apk add inotify-tools postgresql-client yarn file -RUN apk add --no-cache make gcc libc-dev argon2 imagemagick cmake build-base +RUN apk add --no-cache inotify-tools postgresql-client yarn file make gcc libc-dev argon2 imagemagick cmake build-base libwebp-tools bash ncurses RUN mix local.hex --force && mix local.rebar --force From 6120a48d2061084be2a7416e0005d7673f152f0d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 21 Dec 2020 10:08:43 +0100 Subject: [PATCH 3/3] Move Postgis image to official one Signed-off-by: Thomas Citharel --- docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3df763f40..8726415ba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,10 @@ -version: '3' +version: "3" services: postgres: container_name: mobilizon_db restart: unless-stopped - image: mdillon/postgis:11 + image: postgis/postgis:13-3.0 environment: POSTGRES_PASSWORD: postgres POSTGRES_DB: mobilizon_dev @@ -15,7 +15,7 @@ services: restart: unless-stopped build: . volumes: - - '.:/app' + - ".:/app" ports: - "4000:4000" depends_on: