Skip to content

Commit b2355e9

Browse files
committed
Update Dockerfile
1 parent 394ec5e commit b2355e9

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ RUN useradd -ms /bin/bash wurstuser
66
USER wurstuser
77
WORKDIR /home/wurstuser
88

9-
RUN curl -L -o WurstSetup.jar https://github.com/wurstscript/WurstSetup/releases/download/nightly-master/WurstSetup.jar
10-
RUN java -jar WurstSetup.jar install wurstscript
9+
# Grill (formerly WurstSetup) is published as a nightly fat jar on the
10+
# nightly-master tag, which the upstream deploy workflow force-updates on every
11+
# push to master. Pulling it at build time always yields the latest version.
12+
RUN curl -L -o grill.jar https://github.com/wurstscript/WurstSetup/releases/download/nightly-master/WurstSetup.jar
13+
14+
# Installs the WurstScript compiler to ~/.wurst and creates the `grill`/`wurstscript`
15+
# launchers there. This runs non-interactively: requireConfirmation defaults to false,
16+
# so `install wurstscript` never blocks on stdin.
17+
RUN java -jar grill.jar install wurstscript
1118
RUN chmod -R u+x /home/wurstuser/.wurst/
1219

1320
ENV PATH="/home/wurstuser/.wurst/:${PATH}"

0 commit comments

Comments
 (0)