Merge branch 'master' of github.com:RedHatTraining/DO288-apps

This commit is contained in:
Richard Allred 2019-06-17 08:44:25 -04:00
commit 169ee80af9
3 changed files with 15 additions and 0 deletions

3
ubi-info/Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM registry.access.redhat.com/ubi8/ubi:8.0
ADD info.sh /tmp
CMD /tmp/info.sh

10
ubi-info/info.sh Executable file
View 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

2
ubi-sleep/Dockerfile Normal file
View file

@ -0,0 +1,2 @@
FROM registry.access.redhat.com/ubi8:8.0
CMD bash -c "while true; do echo sleeping; sleep 5; done"