ErdemOzgen / blackdagger

Blackdagger is a DAG-based automation tool specifically used in DevOps, DevSecOps, MLOps, MLSecOps, and Continuous Red Teaming (CART).
https://blackdagger.readthedocs.io/
GNU General Public License v3.0
48 stars 8 forks source link

FAILED: docker build in macOS arm chips #41

Closed ErdemOzgen closed 8 months ago

ErdemOzgen commented 8 months ago
 ~/De/g/blackdagger │ main  docker compose build     18 х │ base Py │ 16:20:36 
[+] Building 17.3s (10/11)                                                                                                                                             docker:desktop-linux
 => [server internal] load build definition from Dockerfile                                                                                                                            0.0s
 => => transferring dockerfile: 1.61kB                                                                                                                                                 0.0s
 => [server] resolve image config for docker.io/docker/dockerfile:1.4                                                                                                                  2.6s
 => [server] docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc                                                    0.7s
 => => resolve docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc                                                                 0.0s
 => => sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 2.00kB / 2.00kB                                                                                         0.0s
 => => sha256:f259fd86ee23d7b4a2944432e3a09f45fa288bb84bfbd222b19b2abc7ddffbb9 528B / 528B                                                                                             0.0s
 => => sha256:8d5998862fafcacec68298ab34c9c28973251a5082836f31de0188cd914fae33 2.36kB / 2.36kB                                                                                         0.0s
 => => sha256:0f354329a20e6c1067c0e51abd3b1721483fafbbe0c333710059805f167e3ed0 9.21MB / 9.21MB                                                                                         0.6s
 => => extracting sha256:0f354329a20e6c1067c0e51abd3b1721483fafbbe0c333710059805f167e3ed0                                                                                              0.1s
 => [server internal] load .dockerignore                                                                                                                                               0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => [server internal] load metadata for docker.io/library/ubuntu:latest                                                                                                                1.8s
 => [server 1/5] FROM docker.io/library/ubuntu:latest@sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e                                                          2.8s
 => => resolve docker.io/library/ubuntu:latest@sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e                                                                 1.0s
 => => sha256:f4bb4e8dca02be491b4f72d2ef2127a64ce49c48d0d9c0a0fcaffa625067679d 27.36MB / 27.36MB                                                                                       1.1s
 => => sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e 1.13kB / 1.13kB                                                                                         0.0s
 => => sha256:7185d738658e31c96b3ba0f9deaae1df46a5c405dc82025094a51e5e2072212a 424B / 424B                                                                                             0.0s
 => => sha256:2b7cc08dcdbbb25bd0fe2ddc259b4d794755250f445e6565cb4728be9dc4c0a8 2.31kB / 2.31kB                                                                                         0.0s
 => => extracting sha256:f4bb4e8dca02be491b4f72d2ef2127a64ce49c48d0d9c0a0fcaffa625067679d                                                                                              0.6s
 => [server internal] load build context                                                                                                                                               0.0s
 => => transferring context: 556B                                                                                                                                                      0.0s
 => [server 2/5] RUN echo "Etc/UTC" > /etc/timezone &&     ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime &&     apt-get update -y &&     apt-get install -y sudo tzdata wget curl  8.4s
 => [server 3/5] WORKDIR /home/blackdagger                                                                                                                                             0.0s 
 => ERROR [server 4/5] RUN curl -L https://raw.githubusercontent.com/ErdemOzgen/blackdagger/main/scripts/blackdagger-installer.sh | sudo bash                                          0.9s 
------                                                                                                                                                                                      
 > [server 4/5] RUN curl -L https://raw.githubusercontent.com/ErdemOzgen/blackdagger/main/scripts/blackdagger-installer.sh | sudo bash:                                                     
0.149   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                                                                                       
0.149                                  Dload  Upload   Total   Spent    Left  Speed                                                                                                         
100  2717  100  2717    0     0   7866      0 --:--:-- --:--:-- --:--:--  7875                                                                                                              
0.497 Git is already installed. It will pull default yamls                                                                                                                                  
0.497 Preparing to download gotty v1.0.1...
0.503 Downloading gotty_linux_arm64.tar.gz from https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_arm64.tar.gz...
0.908 Failed to download gotty_linux_arm64.tar.gz. Please check the URL and try again.
------
failed to solve: process "/bin/sh -c curl -L https://raw.githubusercontent.com/ErdemOzgen/blackdagger/main/scripts/blackdagger-installer.sh | sudo bash" did not complete successfully: exit code: 1

New repo can be : https://github.com/sorenisanerd/gotty

ErdemOzgen commented 8 months ago

Fixed issue