Skip to content

Commit

Permalink
Upgrade de versão para usar o postgres mais atualizado. radar-parlame…
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardofl authored and hpe95 committed Jul 2, 2018
1 parent b1a47b4 commit ef9126e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 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:<VERSION> -t radarparlamentar/radar:latest .
# To push the image to dockerhub run:
# docker push radarparlamentar/radar:<VERSION>
# 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 \
Expand Down
5 changes: 3 additions & 2 deletions DockerfileBase
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# VERSION 1.0.2
# VERSION 1.0.3
# AUTHOR: Diego Rabatone Oliveira (@diraol)
# DESCRIPTION: Radar Parlamentar main container
# BUILD: - docker build -t radarparlamentar/base:<VERSION> -t radarparlamentar/base:latest -f DockerfileBase .
# To push the base image to dockerhub run:
# docker push radarparlamentar/base:<VERSION>
# 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
Expand Down Expand Up @@ -35,6 +35,7 @@ RUN set -ex \
&& apk add --update \
curl \
postgresql-dev \
postgresql \
git \
&& apk --no-cache add --virtual _build_deps \
build-base \
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ef9126e

Please sign in to comment.