-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (26 loc) · 1.02 KB
/
Dockerfile
File metadata and controls
29 lines (26 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM debian:wheezy
MAINTAINER Thomas Tilak <thomas.tilak@ign.fr>
LABEL version="0.25.1"
ENV ROK4_VERSION 0.25.1
RUN mkdir /rok4
WORKDIR /rok4
RUN apt-get update
RUN apt-get install -y gettext
RUN apt-get install -y nasm
RUN apt-get install -y perl
RUN apt-get install -y libxml2-dev
RUN apt-get install -y libgdal-perl
RUN apt-get install -y liblog-log4perl-perl libconfig-inifiles-perl libxml-libxml-simple-perl libfile-copy-link-perl
RUN apt-get install -y wget ca-certificates
RUN echo 'deb http://ftp.fr.debian.org/debian/ testing main' >> /etc/apt/sources.list
RUN apt-get update
RUN apt-get -t testing install -y libc6-dev
RUN apt-get -t testing install -y libc6-dev
RUN wget "https://github.com/thhomas/rok4/releases/download/${ROK4_VERSION}/Rok4-${ROK4_VERSION}-Linux-64bit.tar.gz"
RUN tar -zxf Rok4-${ROK4_VERSION}-Linux-64bit.tar.gz
RUN rm Rok4-${ROK4_VERSION}-Linux-64bit.tar.gz
RUN chmod -R 777 /rok4/*
ADD config /rok4/config/
ADD startRok4.sh /rok4/startRok4.sh
ADD default_env /rok4/default_env
CMD /bin/bash /rok4/startRok4.sh