Commit 918574fa authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

update to Debian Buster

parent a5b18567
Pipeline #17525 passed with stage
in 6 minutes and 19 seconds
......@@ -27,8 +27,8 @@ build-next:
script:
- cd docker
- curl -L -o trans.zip 'https://gitlab.lrde.epita.fr/spot/spot-web-app/-/jobs/artifacts/master/download?job=compile'
- sed -e 's:stretch:sid:;s:stable/:unstable/:' Dockerfile >d.tmp && mv d.tmp Dockerfile
- sed -e 's/devel=false/devel=true/;s/create-mime.assign/create-mime.conf/' install.sh >i.tmp && mv i.tmp install.sh
- sed -e 's:buster:sid:;s:stable/:unstable/:' Dockerfile >d.tmp && mv d.tmp Dockerfile
- sed -e 's/devel=false/devel=true/' install.sh >i.tmp && mv i.tmp install.sh
- docker build --no-cache -t lrde/spot-web-dev .
- cd ..
- docker tag lrde/spot-web-dev registry.lrde.epita.fr/spot-web-dev
......
FROM debian:stretch
FROM debian:buster
MAINTAINER Alexandre Duret-Lutz <adl@lrde.epita.fr>
RUN echo 'deb [trusted=true] http://www.lrde.epita.fr/repo/debian/ stable/' >> /etc/apt/sources.list && \
apt-get update && \
......
......@@ -50,7 +50,7 @@ compress.filetype = (
"text/plain",
)
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
mimetype.assign += (
".hoa" => "text/x-hoa",
)
......@@ -162,5 +162,5 @@ perl -pi -e "
s|spot\.css|spot-$DATE.css|g;
s|\"(/?[^\"/]+)\.png\"|\"\$1-$DATE.png\"|g;
s|\"(/?[^\"/]+)\.svg\"|\"\$1-$DATE.svg\"|g;
" *.html *.svg man/*.html ipynb/*.html *.css app/index.html
s|^Stretch |Buster |g;" *.html *.svg man/*.html ipynb/*.html *.css app/index.html
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