Open in app
Адам
1 Follower
About

Sign in

1 Follower
About
Open in app
Адам

Адам

Jan 15, 2019·1 min read

CGO_ENABLED=0 and -installsuffix cgo are no longer required since Go 1.10 and as for -a (force rebuild) is a waste of time tbh since most of packages are already prebuilt with CGO_ENABLED=0 out of the box.

origin: https://github.com/golang/go/issues/9344#issuecomment-69944514

Just my 5 cents.

Адам

Create the smallest and secured golang docker image based on scratch
2.6K
21

C H

More from Адам

More From Medium

What’s New in Flutter 2.0

Chris Sells in Flutter

“BUT THE ENVIRONMENTAL ISSUES WITH CRYPTOART WILL BE SOLVED SOON, RIGHT?”

everest pipkin

How to Identify an Emotionally Safe Person

Margaret Pan in Hello, Love

The Negative Side Effects of Beautiful Women

Kim Petersen in Living Out Loud

The Bullish Case for Bitcoin

Vijay Boyapati

Flutter web support hits the stable milestone

Mariam Hasnany in Flutter

Bitcoin Hitting $100,000 Doesn’t Matter. Many People Have Missed the Point.

Tim Denning in The Ascent

There Are 4 Kinds Of Racists: Which One Are You?

Rebecca Stevens A. in ILLUMINATION-Curated

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store