Skip to content

Commit

Permalink
add docker install
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt307082 committed Jul 10, 2024
1 parent 934e8a3 commit 1307640
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions var/www/html/install-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

echo "apt-get update"
apt-get update
echo "apt-get install -y curl gpg ca-certificates openssl"
apt-get install -y --no-install-recommends curl gnupg ca-certificates openssl
echo "apt-get install -y apt-transport-https ca-certificates curl software-properties-common gpg openssl"
apt-get install -y --no-install-recommends curl gnupg ca-certificates openssl apt-transport-https software-properties-common

echo "install yarn npm nodejs "
mkdir -p /etc/apt/keyrings
Expand All @@ -13,6 +13,11 @@ apt-get update
apt-get install -y --no-install-recommends nodejs
npm -g install yarn

echo "install docker"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
apt-get install docker-ce

echo "install tests packages for console"
cd /var/www/html
yarn install --productuon=false
Expand Down

0 comments on commit 1307640

Please sign in to comment.