diff options
| author | Stelios Tsampas <loathingkernel@gmail.com> | 2018-03-22 18:14:45 +0200 |
|---|---|---|
| committer | Stelios Tsampas <loathingkernel@gmail.com> | 2018-03-22 18:52:19 +0200 |
| commit | 5687e9684cccc74e9dfa040c59a04d61e0851d54 (patch) | |
| tree | 714d9f371901f7083cf38fc547d46df32d16f16e /Dockerfile.gcc | |
| parent | a1f75bbbc5cb2b7346f0e9c32a7434853fa5a70f (diff) | |
* Use separate dockerfiles for gcc and clang
Diffstat (limited to 'Dockerfile.gcc')
| -rw-r--r-- | Dockerfile.gcc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile.gcc b/Dockerfile.gcc new file mode 100644 index 00000000..0bdc886c --- /dev/null +++ b/Dockerfile.gcc @@ -0,0 +1,12 @@ +FROM ubuntu:17.10 + +RUN apt-get update -qq +RUN apt-get install -qq -y libtool intltool gcc automake autoconf cmake +RUN apt-get install -qq -y libavformat-dev libavcodec-dev libavutil-dev libgtk-3-dev libsdl2-dev libxtst-dev libxml2-utils libxml2-dev libarchive-dev libcdio-dev + +RUN mkdir -p /src/build/ +WORKDIR /src/build/ + +COPY . /src/ +RUN cmake .. -DCMAKE_C_COMPILER='gcc' -DCMAKE_CXX_COMPILER='g++' -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr' -DCMAKE_INSTALL_LIBDIR='/usr/lib' -DSND_BACKEND='sdl' -DENABLE_CCDDA='ON' -DUSE_LIBARCHIVE='ON' -DUSE_LIBCDIO='ON' +RUN make |
