Skip to content

Commit

Permalink
Remove using tag file
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaGeo committed Jan 25, 2024
1 parent 0d73836 commit ef65456
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG PREZ_UI_HOME=/prez-ui
ARG PREZ_UI_VERSION=3.8.4

FROM docker.io/node:18-alpine3.16 AS builder

Expand All @@ -11,11 +12,12 @@ WORKDIR /

ARG PREZ_UI_HOME
ENV PREZ_UI_HOME=${PREZ_UI_HOME}
ARG PREZ_UI_VERSION
ENV PREZ_UI_VERSION=${PREZ_UI_VERSION}

COPY PREZ_UI_GIT_TAG /tmp/PREZ_UI_GIT_TAG

RUN export PREZ_UI_VERSION=$(cat /tmp/PREZ_UI_GIT_TAG) \
&& wget -O prez-ui.zip https://github.com/RDFLib/prez-ui/releases/download/v${PREZ_UI_VERSION}/prez-ui-${PREZ_UI_VERSION}.zip \
RUN wget -O prez-ui.zip https://github.com/RDFLib/prez/archive/refs/tags/v${PREZ_UI_VERSION}.zip \
&& unzip prez-ui.zip

WORKDIR ${PREZ_UI_HOME}
Expand Down
1 change: 0 additions & 1 deletion PREZ_UI_GIT_TAG

This file was deleted.

0 comments on commit ef65456

Please sign in to comment.