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

Add basic tools to Dockerfile #255

Merged
merged 2 commits into from
Apr 22, 2021
Merged

Add basic tools to Dockerfile #255

merged 2 commits into from
Apr 22, 2021

Conversation

gaby
Copy link
Contributor

@gaby gaby commented Apr 20, 2021

  • Added bind-tools (BIND9) to help DNS performance within Docker Networks/Kubernetes.
  • Added ca-certificates for common certificates when using HTTPS/TLS
  • Temporarily added the shadow package to create a user/group for glider.
  • Pinned build image to golang 1.16 instead of latest.
  • Glider will now run as glider user and the /app is now owned by glider.

gaby added 2 commits April 19, 2021 23:34
Add bind-tools and ca-certificates to Docker Image
Added glider user and group to final image. Support for running Glider container as non-root user. Build image is now pinned to Golang 1.16 to avoid future issues when 1.17 is released.
@gaby
Copy link
Contributor Author

gaby commented Apr 21, 2021

@nadoo Let me know your thoughts on this. We are using a similar setup for our images and it has been working great with HTTP, SOCKS5 and TCP proxies.

@nadoo nadoo changed the base branch from master to dev April 22, 2021 01:53
@nadoo
Copy link
Owner

nadoo commented Apr 22, 2021

Hi @gaby , thanks for your PR!

@nadoo nadoo merged commit bcf17ad into nadoo:dev Apr 22, 2021
@gaby
Copy link
Contributor Author

gaby commented Apr 22, 2021

@nadoo i just noticed that line 19 is missing a backslash!

@gaby gaby mentioned this pull request Apr 22, 2021
@nadoo
Copy link
Owner

nadoo commented Mar 11, 2022

Hi @gaby , glider v0.16.0 will be released when Go1.18 is out(soon), and the docker image will keep simple and small so the bind-tools will not be installed anymore. You can use glider image as a base image and create your own.
The dev tag(nadoo/glider:dev) has already been changed, you can check it if you need.

Thanks for your help to make glider better, and I'm sorry for the inconvenience here.

@gaby
Copy link
Contributor Author

gaby commented Mar 11, 2022

@nadoo No worries, it should still work for us. :-) Thanks for letting me know! Looking forward to v0.16.0

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

Successfully merging this pull request may close these issues.

2 participants