-
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.
Skip-PR-comments: true Required-githooks: true Signed-off-by: Brian J. Murrell <[email protected]>
- Loading branch information
1 parent
356f4fb
commit f72a74e
Showing
3 changed files
with
48 additions
and
48 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,42 @@ | ||
name: Actions Docker Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
Docker-Test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: UID outside of Docker | ||
run: | | ||
echo "Outside of Docker I am $(id)" | ||
pwd | ||
touch testfile | ||
ls -l | ||
cat /etc/os-release | ||
apt-get -y update | ||
apt-get -y install bind9-dnsutils iproute2 net-tools | ||
cat /etc/resolv.conf | ||
nslookup artifactory.dc.hpdd.intel.com | ||
which docker | ||
dpkg -S $(which docker) | ||
ip route ls | ||
ip addr ls | ||
ifconfig -a | ||
- name: UID inside of Docker | ||
run: | | ||
docker run -v "$PWD":"$PWD" -w "$PWD" --rm ubuntu:latest \ | ||
bash -c 'echo "Inside of Docker I am $(id)"; pwd; ls -l; | ||
cat /etc/os-release | ||
apt-get -y update | ||
apt-get -y install bind9-dnsutils iproute2 net-tools | ||
ip route ls | ||
ip addr ls | ||
ifconfig -a | ||
cat /etc/resolv.conf | ||
echo "nameserver 169.254.0.1" > /etc/resolv.conf | ||
cat /etc/resolv.conf | ||
nslookup artifactory.dc.hpdd.intel.com' |
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
This file was deleted.
Oops, something went wrong.