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.
This commit is contained in:
Tom Willemse 2020-12-27 17:05:58 -08:00
parent c9d38e16cb
commit 4333a9ec65
2 changed files with 25 additions and 0 deletions

14
Dockerfile Normal file
View file

@ -0,0 +1,14 @@
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"

11
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,11 @@
pipeline {
agent { dockerfile true }
stages {
stage('Build') {
steps {
sh coleslaw
}
}
}
}