diff --git a/src/.docker_modules/sabre/039a55e/Dockerfile b/src/.docker_modules/sabre/039a55e/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f769d43f51f93c949411beea29a540ce2f01a030 --- /dev/null +++ b/src/.docker_modules/sabre/039a55e/Dockerfile @@ -0,0 +1,20 @@ +FROM alpine:3.12.0 +MAINTAINER Lauret Modolo + +ENV SABRE_VERSION=039a55e + +ENV SABRE_DEPS g++ bash make zlib-dev git + +RUN echo "http://ftp.acc.umu.se/mirror/alpinelinux.org/v3.11/main" > /etc/apk/repositories \ +&& echo "http://ftp.acc.umu.se/mirror/alpinelinux.org/v3.11/community" >> /etc/apk/repositories \ +&& sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories \ +&& apk add --update --no-cache ${SABRE_DEPS} \ +&& git clone https://github.com/najoshi/sabre.git \ +&& cd sabre \ +&& git checkout $SABRE_VERSION \ +&& make \ +&& mv sabre /usr/bin \ +&& chmod +x /usr/bin/sabre + + +CMD ["bash"] diff --git a/src/.docker_modules/sabre/039a55e/docker_init.sh b/src/.docker_modules/sabre/039a55e/docker_init.sh new file mode 100755 index 0000000000000000000000000000000000000000..fc0f318f612a582b7a56691d27cd5454b2b3370b --- /dev/null +++ b/src/.docker_modules/sabre/039a55e/docker_init.sh @@ -0,0 +1,4 @@ +#!/bin/sh +docker pull lbmc/sabre:039a55e +docker build src/.docker_modules/sabre/039a55e -t 'lbmc/sabre:039a55e' +docker push lbmc/sabre:039a55e