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

Dockerfile: update base image from alpine:3.10 to latest #1362

Merged
merged 2 commits into from
Aug 15, 2021

Conversation

ploxiln
Copy link
Member

@ploxiln ploxiln commented Aug 15, 2021

we can just use latest stable alpine release (currently 3.14)

also switch build image from golang default (debian-based)
to alpine-based, it's smaller and faster to download

Copy link
Member

@mreiferson mreiferson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

we can just use latest stable alpine release (currently 3.14)

also switch build image from golang default (debian-based)
to alpine-based, it's smaller and faster to download
@mreiferson mreiferson removed the request for review from jehiah August 15, 2021 15:14
 * recent versions of Go do not need GO111MODULE set
 * PREFIX=/opt/nsq makes as much sense as DESTDIR=/opt PREFIX=/nsq
 * no need to run test.sh in the same RUN as the build
@ploxiln
Copy link
Member Author

ploxiln commented Aug 15, 2021

thanks for reviewing!

I pushed up another Dockerfile tweak just now, sorry :)

fwiw I've tested docker builds with --platform=linux/amd64 and --platform=linux/arm64

@mreiferson
Copy link
Member

👍

@ploxiln ploxiln merged commit fdd7acc into nsqio:master Aug 15, 2021
@ploxiln ploxiln deleted the dockerfile_base_upd branch September 5, 2021 22:25
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