Skip to content

Commit

Permalink
Update dockerfile for dev and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Nov 23, 2023
1 parent 303bad8 commit 8559721
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions dockerize/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ dbrestore:
@echo "Restore dump from backups/latest.dmp in production mode"
@echo "------------------------------------------------------------------"
@# - prefix causes command to continue even if it fails
@# - TODO: This command needs update since postgis has been updated.
@echo "stopping web container"
@docker-compose -p $(PROJECT_ID) stop web
@echo "dropping gis"
Expand Down
3 changes: 3 additions & 0 deletions dockerize/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so
ENV NOTVISIBLE "in users profile"
RUN echo "export VISIBLE=now" >> /etc/profile

# Install freezegun for feedback test
RUN pip install freezegun

# --------------------------------------------------------
# Open ports as needed
# --------------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions dockerize/production/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ MAINTAINER Dimas Ciputra<[email protected]>

#RUN ln -s /bin/true /sbin/initctl
RUN apt-get clean all

# Debian stretch/updates release issue. please see https://serverfault.com/a/1130167
RUN echo "deb http://archive.debian.org/debian stretch main contrib non-free" > /etc/apt/sources.list

RUN apt-get update && apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev

ARG BRANCH_TAG=develop
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ exclude =
.git,
.venv/,
./.venv/,
venv/,
vagrant_assets,
qgis-app/*/migrations/,
qgis-app/plugins/tests/HelloWorld/,
Expand Down

0 comments on commit 8559721

Please sign in to comment.