Richard Allred
2019-06-17 169ee80af974987b11a5ea1ef88fadfa25cd83bd
Merge branch 'master' of github.com:RedHatTraining/DO288-apps
3 files added
15 ■■■■■ changed files
ubi-info/Dockerfile 3 ●●●●● patch | view | raw | blame | history
ubi-info/info.sh 10 ●●●●● patch | view | raw | blame | history
ubi-sleep/Dockerfile 2 ●●●●● patch | view | raw | blame | history
ubi-info/Dockerfile
New file
@@ -0,0 +1,3 @@
FROM registry.access.redhat.com/ubi8/ubi:8.0
ADD info.sh /tmp
CMD /tmp/info.sh
ubi-info/info.sh
New file
@@ -0,0 +1,10 @@
#!/bin/bash
echo '--- Host name:'
cat /proc/sys/kernel/hostname
echo
echo '--- Free memory'
grep '^Mem' /proc/meminfo
echo
echo '--- Mounted file systems (partial)'
df -h
ubi-sleep/Dockerfile
New file
@@ -0,0 +1,2 @@
FROM registry.access.redhat.com/ubi8:8.0
CMD bash -c "while true; do echo sleeping; sleep 5; done"