diff --git a/Dockerfile b/Dockerfile index 5d353bf..ee4e519 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ # Using Alpine to keep the images smaller # Change to using the official NodeJS Alpine container -FROM node:16-alpine +FROM node:18-alpine # Pushing all files into image +ENV SEMAPHORE_VERSION=1.0.0 WORKDIR /app -RUN wget -q https://github.com/NickColley/semaphore/archive/refs/tags/1.0.0.tar.gz \ +RUN wget -q "https://github.com/NickColley/semaphore/archive/refs/tags/$SEMAPHORE_VERSION.tar.gz" \ -O /tmp/semaphore.tar.gz \ && tar xavf /tmp/semaphore.tar.gz --strip-components 1 \ && rm -f /tmp/semaphore.tar.gz