Skip to content

Commit

Permalink
Docker: Turn FROM into a build argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Dec 15, 2018
1 parent 9f65b72 commit 882d660
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 18 deletions.
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_aiida
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_ase
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_conventions
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_coverage-pdbg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_coverage-sdbg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_farming
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_i-pi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_manual
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_minimal
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_pdbg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_popt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_psmp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_scaling
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_sdbg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_sopt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_ssmp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_valgrind-pdbg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down
3 changes: 2 additions & 1 deletion tools/docker/Dockerfile.test_valgrind-sdbg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM cp2k/toolchain:latest
ARG TOOLCHAIN=cp2k/toolchain:latest
FROM ${TOOLCHAIN}

# author: Ole Schuett

Expand Down

0 comments on commit 882d660

Please sign in to comment.