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

Commit

Permalink
Voltando versão de DockerfileBase. #465
Browse files Browse the repository at this point in the history
Na expectativa de utilizar manage.py dumpdata.
  • Loading branch information
leonardofl committed Apr 29, 2018
1 parent dcba58f commit 7c7349c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# docker push radarparlamentar/radar:<VERSION>
# docker push radarparlamentar/radar:latest
# SOURCE: https://github.com/radar_parlamentar/radar
FROM radarparlamentar/base:1.0.3
FROM radarparlamentar/base:1.0.2

COPY radar_parlamentar/requirements.txt /tmp/requirements.txt
# git é uma dependência do projeto, utilizamos no código para pegar a versão
Expand Down
5 changes: 1 addition & 4 deletions DockerfileBase
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# VERSION 1.0.3
# VERSION 1.0.2
# AUTHOR: Diego Rabatone Oliveira (@diraol)
# DESCRIPTION: Radar Parlamentar main container
# BUILD: - docker build -t radarparlamentar/base:<VERSION> -t radarparlamentar/base:latest -f DockerfileBase .
Expand Down Expand Up @@ -31,13 +31,10 @@ WORKDIR ${RADAR_HOME}
# postgresql-dev é necessário para instalar a lib que vai fazer a conexão com
# o postgres.
# musl-dev é usada apenas apra compilação da lib python psycopg2.
# postgresql é utilizado para a funcionalidade de dump do banco (pg_dump).
# Obs: pg_dump não está disponível em postgres_client =(
RUN set -ex \
&& apk add --update \
curl \
postgresql-dev \
postgresql \
git \
&& apk --no-cache add --virtual _build_deps \
build-base \
Expand Down

0 comments on commit 7c7349c

Please sign in to comment.