Commit 5f4fc04d authored by Salomon Sickert-Zehnter's avatar Salomon Sickert-Zehnter

Merge branch 'update-dockerfile' into 'master'

Update Dockerfile

See merge request i7/owl!368
parents 9a2c4585 a2bc42a7
image: gitlab.lrz.de:5005/i7/owl:ba23e343
image: gitlab.lrz.de:5005/i7/owl:986b7109
before_script:
- chmod +x gradlew
......@@ -22,7 +22,6 @@ Build:
paths:
- $GRADLE
script:
- apt-get update && apt-get install -y --no-install-recommends build-essential zlib1g-dev # TODO: Remove this after Docker update
- ./gradlew distZip
- unzip -d build/unzipped build/distributions/*.zip
- mv build/unzipped/owl-*/bin build
......
FROM ubuntu:focal
FROM ubuntu:latest
MAINTAINER Salomon Sickert
......@@ -35,16 +35,16 @@ RUN gu install native-image
## Download, verify, unpack, compile, and install
RUN wget -q https://www.lrde.epita.fr/dload/spot/spot-2.8.7.tar.gz \
&& echo 'bdbeb4454f0244b6b77e1b04458558ab62471aaa21918e104602e6da99969c1f spot-2.8.7.tar.gz' | sha256sum --check \
&& tar -zxvf spot-2.8.7.tar.gz \
&& rm spot-2.8.7.tar.gz \
&& cd spot-2.8.7 \
RUN wget -q https://www.lrde.epita.fr/dload/spot/spot-2.9.3.tar.gz \
&& echo '02a348272329d4931905a586f7197b518ac6fa411aeeea2acac55d6d490ecd1e spot-2.9.3.tar.gz' | sha256sum --check \
&& tar -zxvf spot-2.9.3.tar.gz \
&& rm spot-2.9.3.tar.gz \
&& cd spot-2.9.3 \
&& ./configure --disable-python --enable-max-accsets=1024 \
&& make -j 4 \
&& make install \
&& cd .. \
&& rm -rf spot-2.8.7
&& rm -rf spot-2.9.3
ENV LD_LIBRARY_PATH=/usr/local/lib/
......
# How to update the docker build environment.
0. Update Dockerfile
1. Execute `git log` and get the 8 first characters of the hash sum.
2. `sudo docker pull ubuntu:latest`
3. `sudo docker build -t gitlab.lrz.de:5005/i7/owl:[hash sum] .`
4. `sudo docker push gitlab.lrz.de:5005/i7/owl:[hash sum]`
5. Update `.gitlab-ci.yml`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment