blog/Dockerfile
Tom Willemse 4333a9ec65 Add Dockerfile and Jenkinsfile
This is the first step in improving my coleslaw builds. For this commit the only
thing that it does is build the project into a staging directory.
2020-12-27 17:12:46 -08:00

14 lines
556 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 && coleslaw --help
RUN curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash
RUN evm install emacs-27.1 && evm use emacs-27.1
ENV PATH="/root/.evm/bin:/root/.roswell/bin:$PATH"