Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

Commit

Permalink
Upgrade de versão para usar o postgres mais atualizado. #465
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardofl committed Jun 3, 2018
1 parent 0adf8d1 commit 2040b9c
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

This comment has been minimized.

Copy link
@diraol

diraol Jun 4, 2018

Member

@leonardofl você precisou jogar nosso container para python 3.7 mesmo? Não rolou com 3.6? =(


# 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

1 comment on commit 2040b9c

@leonardofl
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Humm... Acho q eu tinha entendido errado oq vc disse então :(

Please sign in to comment.