Commit dc0512a9 authored by David Haynes's avatar David Haynes 🙆

HOTFIX: Utilize different GIS packages

- ok so this is is weird one, I think something upstream
Docker side prevented us from installing a specific package
- that's ok, there's a billion and one GIS packages so I just
chose another from the offical docs
- tested manually

thanks :docker:
parent 5899e2da
Pipeline #2760 failed with stage
in 31 seconds
......@@ -6,9 +6,16 @@
FROM python:3.6
ENV PYTHONUNBUFFERED 1
# Update the sources list
RUN apt-get update
RUN apt-get install netcat libgdal1h libproj-dev proj-data proj-bin -y
# Update the sources list and install all packages
# See: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
RUN apt-get update && apt-get install -y \
netcat \
libproj-dev \
proj-data \
proj-bin \
binutils \
gdal-bin \
&& rm -rf /var/lib/apt/lists/*
# Copy over all project files into /whats_open
RUN mkdir /whats-open/
......
version: '3'
version: "3"
services:
db:
image: mysql
image: mysql:5.7
deploy:
replicas: 1
restart_policy:
condition: on-failure
networks:
- wopen_net
command:
mysqld --character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
ports:
- "3306:3306"
networks:
- wopen_net
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: wopen
MYSQL_USER: wopen
MYSQL_PASSWORD: wopen
......@@ -22,10 +25,10 @@ services:
replicas: 1
restart_policy:
condition: on-failure
ports:
- "8000:8000"
networks:
- wopen_net
ports:
- '8000:8000'
command: /bin/bash ./startup.sh
volumes:
- .:/whats-open
......@@ -41,4 +44,4 @@ services:
- WOPEN_SUPERUSER=admin
networks:
wopen_net:
\ No newline at end of file
wopen_net:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment