Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
bin/
.envfile
v2c

.vscode/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd submit this separately.

6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ builtin-prep:
@docker build -t v2c/ubuntu-detective:v16.04.1 -f ./detectives/os.ubuntu16.04.1.df ./detectives/
@docker build -t v2c/ubuntu-provisioner:v16.04.1 -f ./provisioners/os.ubuntu16.04.1.df ./provisioners/

@docker build -t v2c/ubuntu-detective:v16.04.2 -f ./detectives/os.ubuntu16.04.2.df ./detectives/
@docker build -t v2c/ubuntu-provisioner:v16.04.2 -f ./provisioners/os.ubuntu16.04.2.df ./provisioners/

@docker build -t v2c/ubuntu-detective:v16.10 -f ./detectives/os.ubuntu16.10.df ./detectives/
@docker build -t v2c/ubuntu-provisioner:v16.10 -f ./provisioners/os.ubuntu16.10.df ./provisioners/

Expand Down Expand Up @@ -128,6 +131,9 @@ builtin-prep:
@docker build -t v2c/runit-detective:ubuntu-v16.04.1 -f ./detectives/init.ubuntu16.04.1.df ./detectives/
@docker build -t v2c/runit-provisioner:ubuntu-v16.04.1 -f ./provisioners/init.ubuntu16.04.1.df ./provisioners/

@docker build -t v2c/runit-detective:ubuntu-v16.04.2 -f ./detectives/init.ubuntu16.04.2.df ./detectives/
@docker build -t v2c/runit-provisioner:ubuntu-v16.04.2 -f ./provisioners/init.ubuntu16.04.2.df ./provisioners/

@docker build -t v2c/runit-detective:ubuntu-v16.10 -f ./detectives/init.ubuntu16.10.df ./detectives/
@docker build -t v2c/runit-provisioner:ubuntu-v16.10 -f ./provisioners/init.ubuntu16.10.df ./provisioners/

Expand Down
6 changes: 6 additions & 0 deletions detectives/init.ubuntu16.04.2.df
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM alpine:3.4
LABEL com.docker.v2c.component=detective \
com.docker.v2c.component.category=init \
com.docker.v2c.component.builtin=1 \
com.docker.v2c.component.rel=v2c/runit-provisioner:ubuntu-v16.04.2
CMD grep "PRETTY_NAME=\"Ubuntu 16.04.2 LTS\"" /v2c/disk/etc/os-release 1>2 2>/dev/null
6 changes: 6 additions & 0 deletions detectives/os.ubuntu16.04.2.df
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM alpine:3.4
LABEL com.docker.v2c.component=detective \
com.docker.v2c.component.category=os \
com.docker.v2c.component.builtin=1 \
com.docker.v2c.component.rel=v2c/ubuntu-provisioner:v16.04.2
CMD grep "PRETTY_NAME=\"Ubuntu 16.04.2 LTS\"" /v2c/disk/etc/os-release 1>2 2>/dev/null
9 changes: 9 additions & 0 deletions provisioners/init.ubuntu16.04.2.df
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM alpine:3.4
LABEL com.docker.v2c.component=provisioner \
com.docker.v2c.component.category=init \
com.docker.v2c.component.builtin=1 \
com.docker.v2c.component.description=provisions\ ubuntu\ 16.04.2\ images
COPY ./init.ubuntu16.04.2/Dockerfile /Dockerfile
RUN tar cf payload.tar Dockerfile
ENTRYPOINT ["/bin/sh"]
CMD ["-c", "cat /payload.tar"]
3 changes: 3 additions & 0 deletions provisioners/init.ubuntu16.04.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RUN apt-get update && apt-get install -y runit
ENTRYPOINT ["runsvdir","-P","/etc/service"]
STOPSIGNAL SIGHUP
9 changes: 9 additions & 0 deletions provisioners/os.ubuntu16.04.2.df
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM alpine:3.4
LABEL com.docker.v2c.component=provisioner \
com.docker.v2c.component.category=os \
com.docker.v2c.component.builtin=1 \
com.docker.v2c.component.description=provisions\ ubuntu\ 16.04.2\ images
COPY ./os.ubuntu16.04.2/Dockerfile /Dockerfile
RUN tar cf payload.tar Dockerfile
ENTRYPOINT ["/bin/sh"]
CMD ["-c", "cat /payload.tar"]
1 change: 1 addition & 0 deletions provisioners/os.ubuntu16.04.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM ubuntu:16.04