tonne commited on
Commit
08a6bac
1 Parent(s): fdc2a92

Add buildkite file

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -3
  2. script.sh +2 -1
Dockerfile CHANGED
@@ -1,9 +1,6 @@
1
  FROM ubuntu:latest
2
  USER root
3
  RUN apt-get update && apt-get install -y curl
4
- RUN TOKEN="c6be0e8718a3894eb2aaa162566a3584461f7d42a962116595" bash -c "`curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh`"
5
- # COPY main.py .
6
- # RUN cp ~/.buildkite-agent/bin/buildkite-agent /code/buildkite-agent
7
  COPY script.sh .
8
  CMD ["bash", "script.sh"]
9
 
 
1
  FROM ubuntu:latest
2
  USER root
3
  RUN apt-get update && apt-get install -y curl
 
 
 
4
  COPY script.sh .
5
  CMD ["bash", "script.sh"]
6
 
script.sh CHANGED
@@ -1,2 +1,3 @@
1
- /root/.buildkite-agent/bin/buildkite-agent start
 
2
 
 
1
+ TOKEN="c6be0e8718a3894eb2aaa162566a3584461f7d42a962116595" bash -c "`curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh`"
2
+ ~/.buildkite-agent/bin/buildkite-agent start
3