mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 13:22:36 +01:00
Switched pipe with echo to add-apt-repository
This commit is contained in:
parent
85f4b64cf8
commit
7062bc4ee0
@ -245,7 +245,7 @@ jobs:
|
||||
- run: sudo docker run --name linux_docker -d -t << parameters.docker_image >>
|
||||
- run: sudo docker exec linux_docker apt-get update; true
|
||||
- run: sudo docker exec linux_docker apt-get install -y perl wget git
|
||||
- run: sudo docker exec --env DEBIAN_FRONTEND linux_docker "<< parameters.s3cmd_install_command >>"
|
||||
- run: sudo docker exec --env DEBIAN_FRONTEND linux_docker << parameters.s3cmd_install_command >>
|
||||
- run: sudo docker exec linux_docker git clone https://github.com/pavel-odintsov/fastnetmon.git
|
||||
- run:
|
||||
name: install_gcc
|
||||
@ -373,7 +373,7 @@ workflows:
|
||||
name: "debian10"
|
||||
distro_name: "debian"
|
||||
# We do it this way because this version of Debian has no s3cmd in official repos for some reasons: https://packages.debian.org/buster-backports/s3cmd and then we install it from backports
|
||||
s3cmd_install_command: "echo 'deb http://deb.debian.org/debian buster-backports main' | tee /etc/apt/sources.list.d/buster_backports.list; apt-get update; apt-get install -t bullseye-backports -y s3cmd"
|
||||
s3cmd_install_command: "add-apt-repository --yes 'deb http://deb.debian.org/debian buster-backports main'; apt-get update; apt-get install -t bullseye-backports -y s3cmd"
|
||||
- build_debian:
|
||||
docker_image: "debian:bullseye"
|
||||
distro_version: "11"
|
||||
|
Loading…
Reference in New Issue
Block a user