From 78b4be9dcbf1b2b8c24f5bffb9ccb8bd1ef277a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20R=C3=A9thelyi?= <rethelyibalint@gmail.com> Date: Sat, 27 Feb 2021 19:47:57 +0100 Subject: [PATCH] seqing --- Dockerfile | 6 +++--- plab/Makefile | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index cefa420..9390111 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM texlive/texlive -RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get -y upgrade && apt-get -y install openjdk-11-jdk-headless hunspell hunspell-hu hunspell-en-gb hunspell-en-us +RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get -y upgrade && apt-get -y install openjdk-11-jdk-headless hunspell hunspell-hu hunspell-en-gb hunspell-en-us python3-pip && pip3 install javalang COPY tikz-uml.sty /usr/local/texlive/2020/texmf-dist/tex/latex/tikz-uml/tikz-uml.sty COPY jsonDoclet.jar /root/jsonDoclet.jar COPY ./plab/out/plab /usr/bin/plab #ADD robinbird/build/distributions/robinbird.tar / RUN mktexlsr -RUN chmod +x gen_seq_diag.py -COPY gen_seq_diag.py / \ No newline at end of file +COPY gen_seq_diag.py / +RUN chmod +x /gen_seq_diag.py \ No newline at end of file diff --git a/plab/Makefile b/plab/Makefile index 5222e67..d177cf4 100644 --- a/plab/Makefile +++ b/plab/Makefile @@ -2,5 +2,7 @@ build: mkdir -p out go build -v -race -ldflags "-linkmode external -extldflags '-static'" -a -o out/plab +pwd = $(shell pwd) + podman: - podman run --rm -it -v $PWD:/build golang:alpine sh -c "apk add make build-base; cd /build; make" \ No newline at end of file + podman run --rm -it -v ${pwd}:/build golang:alpine sh -c "apk add make build-base; cd /build; make" \ No newline at end of file -- GitLab