Merge branch 'master' of github.com:RedHatTraining/DO288-apps
This commit is contained in:
commit
169ee80af9
3 changed files with 15 additions and 0 deletions
3
ubi-info/Dockerfile
Normal file
3
ubi-info/Dockerfile
Normal 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
10
ubi-info/info.sh
Executable 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
2
ubi-sleep/Dockerfile
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
FROM registry.access.redhat.com/ubi8:8.0
|
||||
CMD bash -c "while true; do echo sleeping; sleep 5; done"
|
||||
Loading…
Add table
Reference in a new issue