diff --git a/docker/cpp/up.sh b/docker/cpp/up.sh index 1bf8bd0..8ffacfb 100755 --- a/docker/cpp/up.sh +++ b/docker/cpp/up.sh @@ -6,8 +6,4 @@ docker build -t $IMAGE . echo ===== Tag container ===== docker tag $IMAGE:$TAG $USER/$IMAGE:$TAG echo ===== Push to https://hub.docker.com/repository/docker/stden/compilers ===== -docker push $USER/$IMAGE:$TAG -echo ===== Show files tree in container ===== -docker run --rm $IMAGE tree /x -echo ===== Run container ===== -docker run $IMAGE +docker push $USER/$IMAGE:$TAG \ No newline at end of file diff --git a/docker/latex/Dockerfile b/docker/latex/Dockerfile new file mode 100644 index 0000000..a48b94c --- /dev/null +++ b/docker/latex/Dockerfile @@ -0,0 +1,8 @@ +FROM fermiumlabs/latex-docker:latest + +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN apt-get update -qq && apt-get install -y -qq sshpass +# Компилятор C++ +RUN apt-get update && \ + apt-get install -y git cmake g++ libboost-filesystem1.81.0 gcovr lcov valgrind tree +# Не работает последняя версия libboost-filesystem1.83.0 \ No newline at end of file diff --git a/docker/latex/up.sh b/docker/latex/up.sh new file mode 100755 index 0000000..01205f7 --- /dev/null +++ b/docker/latex/up.sh @@ -0,0 +1,9 @@ +export USER=stden +export IMAGE=latex +export TAG=latest +echo ===== Build container ===== +docker build -t $IMAGE . +echo ===== Tag container ===== +docker tag $IMAGE:$TAG $USER/$IMAGE:$TAG +echo ===== Push to https://hub.docker.com/repository/docker/stden/latex ===== +docker push $USER/$IMAGE:$TAG \ No newline at end of file