Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions composed/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ FROM ubuntu:xenial

MAINTAINER Ephraim Muhia (emuhia@ona.io)

# RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list
RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
RUN touch /etc/apt/sources.list
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
RUN echo "Acquire::Check-Valid-Until \"false\";" > /etc/apt/apt.conf.d/100disablechecks
RUN apt-get -o Acquire::Check-Valid-Until=false update

# Installing supervisord
RUN apt-get update && apt-get install -y supervisor
Expand Down
9 changes: 8 additions & 1 deletion composed/Migration_Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ FROM java:openjdk-8u111-jdk

MAINTAINER Samuel Githengi (sgithengi@ona.io)

# RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list
RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
RUN touch /etc/apt/sources.list
RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
RUN echo "Acquire::Check-Valid-Until \"false\";" > /etc/apt/apt.conf.d/100disablechecks
RUN apt-get -o Acquire::Check-Valid-Until=false update

#Install database clients ,netcat and maven
RUN apt-get update && \
apt-get install -y netcat && \
Expand Down Expand Up @@ -151,4 +158,4 @@ mkdir -p /tmp/.OpenMRS${application_suffix}/patient_images/ && \
tar -xf /tmp/images.tar.gz -C /tmp/.OpenMRS${application_suffix}/patient_images && \
rm /tmp/images.tar.gz || :

ENTRYPOINT ["/usr/local/bin/entrypoint-migrations.sh"]
ENTRYPOINT ["/usr/local/bin/entrypoint-migrations.sh"]
2 changes: 1 addition & 1 deletion composed/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
MYSQL_PASSWORD: ${MYSQL_OPENMRS_PASSWORD}
MYSQL_DATABASE: ${MYSQL_OPENMRS_DATABASE}
couchdb:
image: "klaemo/couchdb:1.6.1"
image: "couchdb:2.3.0"
volumes:
- opensrp_couchdb:/usr/local/var/lib/couchdb
environment:
Expand Down
4 changes: 2 additions & 2 deletions demo/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
couchdb:
image: "klaemo/couchdb:1.6.1"
image: "couchdb:2.3.0"
volumes:
- opensrp_couchdb:/usr/local/var/lib/couchdb
environment:
Expand Down Expand Up @@ -208,4 +208,4 @@ volumes:
opensrp_postgres:
opensrp_postgres_tablespaces:
opensrp_redis:
opensrp_migrations:
opensrp_migrations: