Skip to content

Commit

Permalink
Merge pull request #129 from simonwfarrow/master
Browse files Browse the repository at this point in the history
install graphviz on container so when exporting to json from dsl and …
  • Loading branch information
simonbrowndotje authored Jul 17, 2023
2 parents 4e44e07 + eea5e87 commit 0844c93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM eclipse-temurin:17-jre-jammy


WORKDIR /usr/local/structurizr-cli/
ENV PATH /usr/local/structurizr-cli/:$PATH
COPY build/distributions/structurizr-cli-*.zip ./
RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*
RUN apt-get update --allow-insecure-repositories && apt-get install -y unzip && apt install -y graphviz && rm -rf /var/lib/apt/lists/*
RUN unzip /usr/local/structurizr-cli/structurizr-cli-*.zip && chmod +x structurizr.sh
WORKDIR /usr/local/structurizr/

Expand Down

0 comments on commit 0844c93

Please sign in to comment.