Skip to content

Commit

Permalink
install docker
Browse files Browse the repository at this point in the history
  • Loading branch information
rakeshkumar1019 committed Mar 15, 2024
1 parent a1dff9a commit 5ee53c8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/veracode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,34 @@ jobs:
echo "Unable to determine operating system"
fi
- name: Install Docker
run: |
# Update the package index
sudo apt-get update
# Install necessary packages to allow apt to use a repository over HTTPS
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
# Add Docker's official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Add Docker repository to APT sources
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
# Update the package index again
sudo apt-get update
# Install Docker
sudo apt-get install -y docker-ce
# Verify Docker installation
sudo docker --version
- name: view settings.xml
run : cat ~/.m2/settings.xml

Expand Down

0 comments on commit 5ee53c8

Please sign in to comment.