diff --git a/Dockerfile b/Dockerfile index cefa420594816ecb76a5dc020605026598313a33..9390111bb7c8fddfa24f7f68b366015e89efa1b3 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 5222e679154eef6ac30b38788ec8e800dfaf7bbb..d177cf43ab8c60da5f0ac0d5d536b5dd52caec5b 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