-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f34b468
commit 18cfb5f
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env python | ||
# | ||
# (re)-builds all of the docker images. | ||
# | ||
|
||
import subprocess | ||
|
||
import image_names | ||
|
||
for elt in image_names.names: | ||
cmd = ["docker", "build", "-t", elt[0], "./plplot/" + elt[1] + "/."] | ||
subprocess.call(cmd) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python | ||
# | ||
# Image names and directories as a list. | ||
# | ||
|
||
names = [["plplot/arch-linux", "arch_linux"], | ||
["plplot/centos-latest", "centos_latest"], | ||
["plplot/debian-latest", "debian_latest"], | ||
["plplot/debian-stable", "debian_stable"], | ||
["plplot/fedora-latest", "fedora_latest"], | ||
["plplot/opensuse-tumbleweed", "opensuse_tumbleweed"], | ||
["plplot/ubuntu-latest", "ubuntu_latest"]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python | ||
# | ||
# Push all of the docker images. You need to log in first.. | ||
# | ||
|
||
import subprocess | ||
|
||
import image_names | ||
|
||
for elt in image_names.names: | ||
cmd = ["docker", "push", elt[0]] | ||
subprocess.call(cmd) | ||
|