blog/Dockerfile
Tom Willemse 094e67d0ea Don’t install Emacs, call coleslaw after setting PATH
I don’t need Emacs in this container, I can use a different container.

I can’t run ‘coleslaw’ if the executable isn’t in the PATH variable.
2020-12-28 00:49:10 -08:00

12 lines
440 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