Enable docker image builds

This commit is contained in:
2021-01-16 10:57:55 -05:00
parent 013c54daa0
commit 75e4e93ddd
4 changed files with 22 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:19.10
FROM ubuntu:20.04
MAINTAINER simon987 <me@simon987.net>
RUN apt update

View File

@@ -1,14 +0,0 @@
rm ./sist2 sist2_debug
cp ../sist2.gz .
gzip -d sist2.gz
strip sist2
version=$(./sist2 --version)
echo "Version ${version}"
docker build . -t simon987/sist2:${version} -t simon987/sist2:latest
docker push simon987/sist2:${version}
docker push simon987/sist2:latest
docker run --rm simon987/sist2 -v