Add custom image and push action
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
parent
e56758af02
commit
2d87046ab2
3 changed files with 94 additions and 0 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM doctoolchain/doctoolchain:v3.4.2
|
||||
|
||||
RUN curl -fsSL https://d2lang.com/install.sh | sh -s --
|
||||
|
||||
USER root
|
||||
RUN mv /home/dtcuser/.local/bin/d2 /usr/local/bin/d2
|
||||
|
||||
COPY zscaler.crt /usr/local/share/ca-certificates/zscaler.crt
|
||||
RUN update-ca-certificates && \
|
||||
keytool -importcert -file /usr/local/share/ca-certificates/zscaler.crt -alias /usr/local/share/ca-certificates/zscaler.crt -cacerts -storepass changeit -noprompt
|
||||
|
||||
RUN mkdir /usr/local/structurizr && \
|
||||
wget https://github.com/structurizr/cli/releases/latest/download/structurizr-cli.zip -O /usr/local/structurizr/structurizr-cli.zip && \
|
||||
unzip /usr/local/structurizr/structurizr-cli.zip -d /usr/local/structurizr
|
||||
|
||||
USER dtcuser
|
||||
ENV DIAGRAM_STRUCTURIZRCLI_HOME=/usr/local/structurizr
|
||||
Loading…
Add table
Add a link
Reference in a new issue