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:
parent
c9d38e16cb
commit
4333a9ec65
2 changed files with 25 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal 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
11
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
pipeline {
|
||||||
|
agent { dockerfile true }
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh coleslaw
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue