From d36e63daf0ad24a4e7964956bb0797a7d67cc269 Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Wed, 27 Sep 2023 14:24:35 -0300 Subject: [PATCH] Fix sql build --- .docker/sql.Dockerfile | 6 ++---- scripts/run-problems.sh | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.docker/sql.Dockerfile b/.docker/sql.Dockerfile index 3262e750..6dc24816 100644 --- a/.docker/sql.Dockerfile +++ b/.docker/sql.Dockerfile @@ -1,13 +1,11 @@ -FROM postgres:9.4.19 +FROM postgres:9.4.19-alpine ENV PGPASSWORD beecrowd RUN mkdir /code WORKDIR /code -# Got this hack here: https://stackoverflow.com/a/63300637 -RUN rm -rf /etc/apt/sources.list.d/pgdg.list -RUN apt update && apt install -y --force-yes wget +RUN apk add wget RUN cd /bin && \ wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh && \ diff --git a/scripts/run-problems.sh b/scripts/run-problems.sh index 56605caa..e2ee095b 100755 --- a/scripts/run-problems.sh +++ b/scripts/run-problems.sh @@ -12,7 +12,6 @@ for language in $LANGUAGES; do USER="$(id -u):$(id -g)" \ docker-compose \ -f .docker/sql-docker-compose.yml \ - --log-level ERROR \ up \ --build \ --quiet-pull \