Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Rebase the image on the offical ubuntu image.
Add git, xz, libxml and gcc as dependencies
Change $PATH handling

Fixes eth-sri#15
  • Loading branch information
dbasgoeze committed Oct 28, 2024
1 parent 826b48f commit 6a7de4b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
FROM dlanguage/dmd
LABEL "Version"="1.0"
FROM ubuntu

COPY . /opt/psi

RUN apt -qq update && apt -qq install -y wget unzip
RUN apt -qq update && apt -qq install -y wget unzip git xz-utils libxml2 gcc
RUN cd /opt/psi && ./dependencies-release.sh && ./build-release.sh && mkdir bin && mv psi ./bin

RUN echo "export PATH=$PATH:/opt/psi/bin" >> /root/.bashrc

WORKDIR /root

ENTRYPOINT ["bash"]

ENV PATH=$PATH:/opt/psi/bin

0 comments on commit 6a7de4b

Please sign in to comment.