Skip to content

Commit

Permalink
all-builder: switch to templates for -builder dirs
Browse files Browse the repository at this point in the history
This commit removes the Dockerfiles from the -builder directories and
relies on build_containers.sh populating the Dockerfiles from the
dockerfiles/templates/Dockerfile.builder.  All the files are the same
except for which -base distro they pull from.

A README is also added to the -builder directories to discourage people
from putting Dockerfiles there as the current logic will just overwrite them.

Signed-off-by: brian avery <[email protected]>
  • Loading branch information
bavery22 committed Jul 7, 2017
1 parent 8bde54b commit fa5f3f9
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 351 deletions.
27 changes: 0 additions & 27 deletions dockerfiles/centos/centos-7/centos-7-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/centos/centos-7/centos-7-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/debian/debian-8/debian-8-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/debian/debian-8/debian-8-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/fedora/fedora-22/fedora-22-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/fedora/fedora-22/fedora-22-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/fedora/fedora-23/fedora-23-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/fedora/fedora-23/fedora-23-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/fedora/fedora-24/fedora-24-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/fedora/fedora-24/fedora-24-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/fedora/fedora-25/fedora-25-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/fedora/fedora-25/fedora-25-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/ubuntu/ubuntu-14.04/ubuntu-14.04-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/ubuntu/ubuntu-14.04/ubuntu-14.04-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/ubuntu/ubuntu-16.04/ubuntu-16.04-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/ubuntu/ubuntu-16.04/ubuntu-16.04-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
27 changes: 0 additions & 27 deletions dockerfiles/ubuntu/ubuntu-16.10/ubuntu-16.10-builder/Dockerfile

This file was deleted.

2 changes: 2 additions & 0 deletions dockerfiles/ubuntu/ubuntu-16.10/ubuntu-16.10-builder/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The Dockerfile for this directory is autogenerated based on dockerfiles/templates/Dockerfile.builder
Do not place an actual Dockerfile here.
Loading

0 comments on commit fa5f3f9

Please sign in to comment.