blog/Dockerfile
Tom Willemse 8e67de7641 Send coleslaw error output to stdout
I think Jenkins might fail my build because ‘coleslaw --help’ prints to stderr,
which it might interpret as errors. So I’m going to try printing help to stdout
instead.
2020-12-28 01:01:49 -08:00

12 lines
445 B
Docker

FROM ubuntu:latest
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl jq rsync
RUN curl -sL `curl -s https://api.github.com/repos/roswell/roswell/releases/latest \
| jq -r '.assets | .[] | select(.name|test("deb$")) | .browser_download_url'` \
--output roswell.deb \
&& apt install -y ./roswell.deb
RUN ros install coleslaw-org/coleslaw
ENV PATH="/root/.evm/bin:/root/.roswell/bin:$PATH"
RUN coleslaw --help 2>&1