Update check_git_apply.yaml
This commit is contained in:
parent
99fc6289da
commit
3d61c83219
16
.github/workflows/check_git_apply.yaml
vendored
16
.github/workflows/check_git_apply.yaml
vendored
@ -25,16 +25,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare container
|
- name: Prepare container
|
||||||
run: |
|
run: |
|
||||||
sudo chown lg /etc/apt/apt.conf.d/proxy.conf
|
|
||||||
sudo chown lg .
|
|
||||||
|
|
||||||
sudo iptables -D INPUT -p tcp -s localhost --dport 8118 -j ACCEPT
|
sudo iptables -D INPUT -p tcp -s localhost --dport 8118 -j ACCEPT
|
||||||
sudo iptables -D INPUT -p tcp --dport 8118 -j DROP
|
sudo iptables -D INPUT -p tcp --dport 8118 -j DROP
|
||||||
sudo echo Acquire::http::Proxy \"http://172.18.0.1:8118\"\; >/etc/apt/apt.conf.d/proxy.conf
|
|
||||||
export HTTPS_PROXY=http://172.18.0.1:8118
|
#sudo chown lg /etc/apt/apt.conf.d/proxy.conf
|
||||||
export HTTP_PROXY=http://172.18.0.1:8118
|
#sudo chown lg .
|
||||||
export http_proxy=http://172.18.0.1:8118
|
#sudo echo Acquire::http::Proxy \"http://172.18.0.1:8118\"\; >/etc/apt/apt.conf.d/proxy.conf
|
||||||
export https_proxy=http://172.18.0.1:8118
|
#export HTTPS_PROXY=http://172.18.0.1:8118
|
||||||
|
#export HTTP_PROXY=http://172.18.0.1:8118
|
||||||
|
#export http_proxy=http://172.18.0.1:8118
|
||||||
|
#export https_proxy=http://172.18.0.1:8118
|
||||||
|
|
||||||
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
||||||
sudo dpkg -i packages-microsoft-prod.deb
|
sudo dpkg -i packages-microsoft-prod.deb
|
||||||
|
Loading…
Reference in New Issue
Block a user