From 6a7de4bb65aabe3b40c9ba912ee86dc20f48cce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Basg=C3=B6ze?= Date: Mon, 28 Oct 2024 16:48:42 +0100 Subject: [PATCH] Update Dockerfile Rebase the image on the offical ubuntu image. Add git, xz, libxml and gcc as dependencies Change $PATH handling Fixes #15 --- Dockerfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb164273..6db0c051 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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