mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-24 15:02:58 +00:00
f50a9ef9db
This runs elm-format and elm-make inside a docker container which servs the Elm environment. Related to issue #671
11 lines
391 B
Docker
11 lines
391 B
Docker
FROM node:latest
|
|
|
|
ENV ELM_FORMAT_VERSION 0.6.0-alpha
|
|
ENV ELM_VERSION 0.18
|
|
|
|
RUN npm install -g elm@0.18.0
|
|
|
|
RUN wget https://github.com/avh4/elm-format/releases/download/${ELM_FORMAT_VERSION}/elm-format-${ELM_VERSION}-${ELM_FORMAT_VERSION}-linux-x64.tgz -O "elm-format" && \
|
|
tar -xvzf elm-format && \
|
|
mv elm-format /usr/local/bin/elm-format && \
|
|
chmod +x /usr/local/bin/elm-format |