Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with the Make setup and Dockerfile Build #4

Open
bgpanw opened this issue Mar 8, 2023 · 5 comments
Open

Errors with the Make setup and Dockerfile Build #4

bgpanw opened this issue Mar 8, 2023 · 5 comments

Comments

@bgpanw
Copy link

bgpanw commented Mar 8, 2023

Hi,
I am trying this experiment on a GCP Compute VM running Ubuntu 22.04 LTS , and starting from the first step after installing Docker and Make.

I figured I might be able to get it going on one VM and then access it using Chrome in an Ubuntu Desktop on a VM in the same subnet. However, the best scenario for me would just expose it temporarily to the internet from my own IP using a VPC firewall rule.

~/jenkins-as-code$ make get-tools-linux
# TODO: verify checksums ..
curl -Lo bin/minikube https://storage.googleapis.com/minikube/releases/v1.0.0/minikube-linux-amd64 && chmod +x bin/minikube
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38.2M  100 38.2M    0     0  74.6M      0 --:--:-- --:--:-- --:--:-- 74.7M
curl -Lo bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v1.14.0/bin/linux/amd64/kubectl && chmod +x bin/kubectl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 41.1M  100 41.1M    0     0  89.4M      0 --:--:-- --:--:-- --:--:-- 89.3M
curl -L https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz | tar -xz -C bin/ && mv bin/linux-amd64/helm bin/ && rm -r bin/linux-amd64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   298  100   298    0     0   2604      0 --:--:-- --:--:-- --:--:--  2614

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make: *** [Makefile:13: get-tools-linux] Error 2

I've also tried populating all of the secret files in the requested locations and trying to simply build the docker file but I end up with the following issue when it tries to install the plugins:

This is the entire Docker build output with errors: https://github.com/bgpanw/temp/blob/main/dockerbuildsession.log

@fishi0x01
Copy link
Member

Hi 👋

Thank you for the info. 🙇 The codebase is roughly 4 years old by now. Quite likely some of the links in the Makefile are outdated.

@bgpanw bgpanw changed the title Errors with the Make setup Errors with the Make setup and Dockerfile Build Mar 8, 2023
@bgpanw
Copy link
Author

bgpanw commented Mar 8, 2023

HI Thanks for your reply. I made one update with errors in the Docker build . I figured I'd at least try creating all of the secrets and build the image to deploy in a regular GKE cluster but ended up with the errors shown in my updated comment.

@bgpanw
Copy link
Author

bgpanw commented Mar 8, 2023

Please have a look at the link / file I uploaded to a temporary repo with the Dockerbuild output. I've added it to my original post.

@fishi0x01
Copy link
Member

Sorry I do not have time to debug this for you. The only hint I can offer is that probably the links are not up-to-date anymore. You can try to pull newer versions / update the links and see if that works. Hope that helps!

@bgpanw
Copy link
Author

bgpanw commented Mar 8, 2023

I completely understand! Thanks again and I'll make use of what I can 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants