forked from GNOME/gnome-commander
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
30 lines (25 loc) · 773 Bytes
/
Dockerfile
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
30
# This is a Docker image for building gnome-commander
FROM ubuntu:16.04
MAINTAINER Uwe Scholz <[email protected]>
ENV GCMD_PATH /gnome-commander
RUN \
apt-get update -qq && \
apt-get install -yq sudo && \
echo $LANG && \
echo $LC_ALL && \
sudo apt-get build-dep gnome-commander -y && \
sudo apt-get install -y -qq autoconf-archive cmake flex git-core gnome-common libglib2.0-dev libgtest-dev libunique-dev scrollkeeper
RUN \
cd /usr/src/gtest && \
sudo cmake . && \
sudo make -j4 && \
sudo ln -s /usr/src/gtest/libgtest.a /usr/lib/libgtest.a && \
sudo ln -s /usr/src/gtest/libgtest_main.a /usr/lib/libgtest_main.a
ADD . $GCMD_PATH
RUN \
export CXX=g++ && \
export CC=gcc && \
cd $GCMD_PATH && \
./autogen.sh && \
make && \
make check