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

fixed bullseye docker image #327

Merged
merged 3 commits into from
Jun 2, 2023
Merged

fixed bullseye docker image #327

merged 3 commits into from
Jun 2, 2023

Conversation

oliveromahony
Copy link
Contributor

Proposed changes

Bullseye docker image was not working. Updated the gnupg dependency

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@netlify
Copy link

netlify bot commented Jun 2, 2023

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit 4f745e0
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/647a1011a1fa1a0008f063ad

@github-actions github-actions bot added the bug Something isn't working label Jun 2, 2023
@oliveromahony
Copy link
Contributor Author

Tested on Mac:

ls -ltr build/certs 
total 56
-rw-r--r--@  1 o.omahony  staff  1534 Jun  2 15:30 nginx-repo.crt
-rw-r--r--@  1 o.omahony  staff  1705 Jun  2 15:30 nginx-repo.key
drwxr-xr-x@ 15 o.omahony  staff   480 Jun  2 15:42 client
-rw-r--r--@  1 o.omahony  staff  1879 Jun  2 15:42 client.crt
-rw-------@  1 o.omahony  staff  3268 Jun  2 15:42 client.key
drwxr-xr-x@ 15 o.omahony  staff   480 Jun  2 15:42 server
-rw-r--r--@  1 o.omahony  staff  3928 Jun  2 15:42 ca.pem
-rw-r--r--@  1 o.omahony  staff  1883 Jun  2 15:42 server.crt
-rw-------@  1 o.omahony  staff  3268 Jun  2 15:42 server.key
➜  agent git:(bullseye-fix) ✗ make local-deb-package
GOWORK=off CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build -ldflags="-X main.version=v2.25.0 -X main.commit=891bdf98 -X main.date=2023-06-02_15-43-36" -o ./build/nginx-agent
ARCH=arm64 VERSION=2.25.0 go run github.com/goreleaser/nfpm/v2/cmd/nfpm pkg --config ./scripts/.local-nfpm.yaml --packager deb --target ./build/nginx-agent-2.25.0-SNAPSHOT-891bdf98.deb;
using deb packager...
created package: ./build/nginx-agent-2.25.0-SNAPSHOT-891bdf98.deb
 make clean
find ./build -mindepth 1 ! -path './build/certs/nginx-repo.crt' ! -path './build/certs/nginx-repo.key' -delete
ls ./build 
certs
➜  agent git:(bullseye-fix) ✗ ls ./build/certs
nginx-repo.crt nginx-repo.key

@oliveromahony
Copy link
Contributor Author

oliveromahony commented Jun 2, 2023

Images built: (full output omitted for brevity)

agent_debian_buster-slim

#12 DONE 0.2s

#13 exporting to image
#13 exporting layers 0.1s done
#13 writing image sha256:9d4e01d942e9c8e95cbb8402b6a5fe1e23e2cb702b261b1d470211780f8b5c91 done
#13 naming to docker.io/library/agent_debian_buster-slim done
#13 DONE 0.1s

agent_debian_bullseye-slim

#13 DONE 0.2s

#14 exporting to image
#14 exporting layers 0.1s done
#14 writing image sha256:7859b3343dad4afe8f1b0a43dd96653dae9d658034b89a2a9d24e1ac265edddb done
#14 naming to docker.io/library/agent_debian_bullseye-slim done
#14 DONE 0.1sz

@oliveromahony oliveromahony merged commit e064008 into main Jun 2, 2023
27 checks passed
@oliveromahony oliveromahony deleted the bullseye-fix branch June 2, 2023 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants