diff --git a/Dockerfile b/Dockerfile index fc0c9d34..5d5c0fab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# VERSION 1.0.0-1 +# VERSION 1.0.0-2 # AUTHOR: Diego Rabatone Oliveira (@diraol) # DESCRIPTION: Radar Parlamentar main container # BUILD: docker build -t radarparlamentar/radar: -t radarparlamentar/radar:latest . @@ -6,7 +6,7 @@ # docker push radarparlamentar/radar: # docker push radarparlamentar/radar:latest # SOURCE: https://github.com/radar_parlamentar/radar -FROM radarparlamentar/base:1.0.2 +FROM radarparlamentar/base:1.0.3 COPY radar_parlamentar/requirements.txt /tmp/requirements.txt RUN set -ex \ diff --git a/DockerfileBase b/DockerfileBase index 03c01c5d..b92612ad 100644 --- a/DockerfileBase +++ b/DockerfileBase @@ -1,4 +1,4 @@ -# VERSION 1.0.2 +# VERSION 1.0.3 # AUTHOR: Diego Rabatone Oliveira (@diraol) # DESCRIPTION: Radar Parlamentar main container # BUILD: - docker build -t radarparlamentar/base: -t radarparlamentar/base:latest -f DockerfileBase . @@ -6,7 +6,7 @@ # docker push radarparlamentar/base: # docker push radarparlamentar/base:latest # SOURCE: https://github.com/radar_parlamentar/radar -FROM python:3.6-alpine +FROM python:3.7-rc-alpine # Never prompts the user for choices on installation/configuration of packages ENV DEBIAN_FRONTEND noninteractive @@ -35,6 +35,7 @@ RUN set -ex \ && apk add --update \ curl \ postgresql-dev \ + postgresql \ git \ && apk --no-cache add --virtual _build_deps \ build-base \ diff --git a/docker-compose.yml b/docker-compose.yml index 7a6e73e6..ff51847f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,7 +28,7 @@ services: - volume_radar_elasticsearch_data:/usr/share/elasticsearch/data postgres: - image: postgres:9.5.12-alpine + image: postgres:10.4-alpine environment: - POSTGRES_USER=radar - POSTGRES_PASSWORD=${RADAR_DB_PASSWORD:-radar}