We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02a7bad commit 1707884Copy full SHA for 1707884
2 files changed
src/Dockerfile
@@ -2,7 +2,8 @@ FROM node:10-alpine
2
3
RUN apk add --no-cache openssl
4
5
-RUN npm install -g solid-server@5.2.2
+ARG SOLID_SERVER_VERSION=latest
6
+RUN npm install -g solid-server@${SOLID_SERVER_VERSION}
7
8
# image configuration
9
ENV SOLID_HOME=/opt/solid
src/hooks/build
@@ -0,0 +1,3 @@
1
+#!/bin/bash
+
+docker build --build-arg SOLID_SERVER_VERSION=${SOURCE_BRANCH} -f Dockerfile -t $IMAGE_NAME .
0 commit comments