Skip to content

Commit

Permalink
[+] Latex docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
stden authored and stden committed Nov 27, 2023
1 parent 45cec71 commit 9a48762
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
6 changes: 1 addition & 5 deletions docker/cpp/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions docker/latex/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions docker/latex/up.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9a48762

Please sign in to comment.