EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 49f5a8c5 authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Installing mapache (specific version) from our own apt repository

parent 5682848c
Branches
Tags
1 merge request!6Cache native swift
...@@ -62,7 +62,6 @@ ADD configure.sh \ ...@@ -62,7 +62,6 @@ ADD configure.sh \
run-httpd.sh \ run-httpd.sh \
run-seeder.sh \ run-seeder.sh \
seeder.py \ seeder.py \
get-token-and-render.sh \
  • Owner

    @fabian.schindler we can't get fully rid of this because we need to configure the bucket name and postgresql connection. I'm going to adjust this in the vhr18 repo. Please copy it here aftwards.

  • Please register or sign in to reply
mapcache-template.xml \ mapcache-template.xml \
/ /
RUN chmod -v +x \ RUN chmod -v +x \
...@@ -70,7 +69,5 @@ RUN chmod -v +x \ ...@@ -70,7 +69,5 @@ RUN chmod -v +x \
/run-httpd.sh \ /run-httpd.sh \
/run-seeder.sh /run-seeder.sh
ADD reload-http /etc/cron.d/
EXPOSE 80 EXPOSE 80
CMD ["/run-httpd.sh"] CMD ["/run-httpd.sh"]
#!/bin/bash #!/bin/bash -e
echo "Running install.sh" echo "Running install.sh"
apt update apt update
...@@ -6,12 +6,12 @@ apt update ...@@ -6,12 +6,12 @@ apt update
echo "Adding UbuntuGIS repo" echo "Adding UbuntuGIS repo"
DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common
add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
add-apt-repository -y ppa:schpidi2/eox
apt update apt update
echo "Installing packages" echo "Installing packages"
DEBIAN_FRONTEND=noninteractive apt install -y libapache2-mod-mapcache \ DEBIAN_FRONTEND=noninteractive apt install -y \
mapcache-tools sqlite3 curl apache2 python3-dateutil python3-redis \ libmapcache1=1.8.0-1~bionic1eox2 libapache2-mod-mapcache=1.8.0-1~bionic1eox2 mapcache-tools=1.8.0-1~bionic1eox2 \
python3-boto3 cron \ sqlite3 curl apache2 python3-dateutil python3-redis
python3-swiftclient python-swiftclient
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment