File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 2727 run : |
2828 # Add Docker's official GPG key:
2929 apt-get update
30- apt-get install ca-certificates curl
30+ apt-get install -y ca-certificates curl
3131 install -m 0755 -d /etc/apt/keyrings
3232 curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
3333 chmod a+r /etc/apt/keyrings/docker.asc
@@ -38,12 +38,20 @@ jobs:
3838 $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
3939 tee /etc/apt/sources.list.d/docker.list > /dev/null
4040
41- apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin
41+ apt-get update
42+
43+ # Make Docker available on TCP so Windows can connect to it
44+ #echo '{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}' > /etc/docker/daemon.json
45+
46+ # Install Docker
47+ apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin
4248
4349 docker build -t renci-ssh-tests-server-image -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/
4450 docker run --rm -h renci-ssh-tests-server -d -p 2222:22 renci-ssh-tests-server-image
4551
4652 - name : Run Integration Tests .NET Framework
53+ # environment:
54+ # - DOCKER_HOST: localhost:2375
4755 run :
4856 dotnet test `
4957 -f net48 `
You can’t perform that action at this time.
0 commit comments