Skip to content

Commit

Permalink
Revert "Upgrade to Ubuntu 22.04 (#383)"
Browse files Browse the repository at this point in the history
This reverts commit 14d8539.
This reverts commit fd14ccf.

Upgrade may have broken some maps' bounding boxes (due to different
mapserver or GDAL versions?).
  • Loading branch information
lbam committed Jul 20, 2023
1 parent 9a72e46 commit 8523a57
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 72 deletions.
17 changes: 5 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:18.04
MAINTAINER [email protected]

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
cgi-mapserver \
curl \
gdal-bin \
gdal-data \
libmapcache1 \
libapache2-mod-mapcache \
mapserver-bin \
python3-pip \
wget
RUN apt-get install -y build-essential curl gnupg python3-pip software-properties-common wget
RUN add-apt-repository -y ppa:ubuntugis/ppa

RUN apt-get install -y gdal-bin gdal-data libgdal20
RUN apt-get install -y apache2 apache2-utils libmapcache1 libapache2-mod-mapcache cgi-mapserver mapserver-bin
RUN python3 -m pip install mappyfile==0.9.7

# Enable these Apache modules
Expand Down
17 changes: 5 additions & 12 deletions Dockerfile_noproxy
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:18.04
MAINTAINER [email protected]

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
cgi-mapserver \
curl \
gdal-bin \
gdal-data \
libmapcache1 \
libapache2-mod-mapcache \
mapserver-bin \
python3-pip \
wget
RUN apt-get install -y build-essential curl gnupg python3-pip software-properties-common wget
RUN add-apt-repository -y ppa:ubuntugis/ppa

RUN apt-get install -y gdal-bin gdal-data libgdal20
RUN apt-get install -y apache2 apache2-utils libmapcache1 libapache2-mod-mapcache cgi-mapserver mapserver-bin
RUN python3 -m pip install mappyfile==0.9.7

# Enable these Apache modules
Expand Down
17 changes: 5 additions & 12 deletions Dockerfile_noproxy_private
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:18.04
MAINTAINER [email protected]

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
cgi-mapserver \
curl \
gdal-bin \
gdal-data \
libmapcache1 \
libapache2-mod-mapcache \
mapserver-bin \
python3-pip \
wget
RUN apt-get install -y build-essential curl gnupg python3-pip software-properties-common wget
RUN add-apt-repository -y ppa:ubuntugis/ppa

RUN apt-get install -y gdal-bin gdal-data libgdal20
RUN apt-get install -y apache2 apache2-utils libmapcache1 libapache2-mod-mapcache cgi-mapserver mapserver-bin
RUN python3 -m pip install mappyfile==0.9.7

# Enable these Apache modules
Expand Down
17 changes: 5 additions & 12 deletions Dockerfile_noproxy_tiles
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:18.04
MAINTAINER [email protected]

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
cgi-mapserver \
curl \
gdal-bin \
gdal-data \
libmapcache1 \
libapache2-mod-mapcache \
mapserver-bin \
python3-pip \
wget
RUN apt-get install -y build-essential curl gnupg python3-pip software-properties-common wget
RUN add-apt-repository -y ppa:ubuntugis/ppa

RUN apt-get install -y gdal-bin gdal-data libgdal20
RUN apt-get install -y apache2 apache2-utils libmapcache1 libapache2-mod-mapcache cgi-mapserver mapserver-bin
RUN python3 -m pip install mappyfile==0.9.7

# Enable these Apache modules
Expand Down
17 changes: 5 additions & 12 deletions Dockerfile_private
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:18.04
MAINTAINER [email protected]

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
cgi-mapserver \
curl \
gdal-bin \
gdal-data \
libmapcache1 \
libapache2-mod-mapcache \
mapserver-bin \
python3-pip \
wget
RUN apt-get install -y build-essential curl gnupg python3-pip software-properties-common wget
RUN add-apt-repository -y ppa:ubuntugis/ppa

RUN apt-get install -y gdal-bin gdal-data libgdal20
RUN apt-get install -y apache2 apache2-utils libmapcache1 libapache2-mod-mapcache cgi-mapserver mapserver-bin
RUN python3 -m pip install mappyfile==0.9.7

# Enable these Apache modules
Expand Down
17 changes: 5 additions & 12 deletions Dockerfile_tiles
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:18.04
MAINTAINER [email protected]

RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
apache2 \
cgi-mapserver \
curl \
gdal-bin \
gdal-data \
libmapcache1 \
libapache2-mod-mapcache \
mapserver-bin \
python3-pip \
wget
RUN apt-get install -y build-essential curl gnupg python3-pip software-properties-common wget
RUN add-apt-repository -y ppa:ubuntugis/ppa

RUN apt-get install -y gdal-bin gdal-data libgdal20
RUN apt-get install -y apache2 apache2-utils libmapcache1 libapache2-mod-mapcache cgi-mapserver mapserver-bin
RUN python3 -m pip install mappyfile==0.9.7

# Enable these Apache modules
Expand Down
3 changes: 3 additions & 0 deletions tools/make_indexjson.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Produces a JSON file containing an overview of available maps.
# Usage:
# python3 tools/make_overview.py *.map
#
# This file needs to be compatible with Python 3.6 as long as our images
# are based on Ubuntu 18.04.

import json
import logging
Expand Down

0 comments on commit 8523a57

Please sign in to comment.