Commit Graph

9 Commits

Author SHA1 Message Date
Saj Goonatilleke 6370ef8f24 docker: build with explicit go version
It is occasionally useful to assert that our output was built with >=x
version of the Go compiler or linked against >=x version of the Go
standard library.  While it is possible to make this assertion after the
fact -- say, by dumping the value of runtime.buildVersion with a
debugger -- it's usually much easier to inspect this file.
2020-11-19 05:10:43 +11:00
Saj Goonatilleke cc8906ee36 switch to go modules 2020-11-06 08:50:35 +11:00
Saj Goonatilleke c9b7e27f76 Move all this config gubbins out of the way
There are two distinct configuration layers in this program:  the 'raw'
types provided by the flag library, and the 'validated' types we present
to the rest of the program.  This commit makes that distinction clear,
and internalises some pointer muck from the flag lib.
2019-05-15 21:26:02 +10:00
Saj Goonatilleke d776ff7bcd Optionally use DNS SRV records for origin discovery 2019-05-07 04:48:50 +10:00
Andrew Schleifer deaf725bae COPY to WORKDIR
deduplication
2018-09-21 15:01:59 +08:00
Andrew Schleifer 3931d81e78 define a WORKDIR
makes cache invalidation less likely
2018-09-21 15:01:59 +08:00
Andrew Schleifer e2d47b0eec copy file after building OS
that way changes to the source don't invalidate the cached layers
2018-09-21 15:01:58 +08:00
Andrew Schleifer 2ed757a038 new build regime
* use new makefile style, remove two previous build systems
* multi-stage build for the tiniest image
2018-09-21 15:01:58 +08:00
Matt Palmer 8dcded8013 New build system
Far more idiomatic.
2017-10-27 09:52:38 +11:00