A scratch image with some static files for running Go binaries.
1.5K
https://gitlab.com/vredens/docker-images/tree/master/scratch
Adds some necessary files for properly configuring scratch base image
Files added and reason
/etc/ssl/certs/ca-certificates.crt: needed for running Go statically compiled files/etc/nsswitch.conf: needed for supporting defining hostname resolution set by docker runtimeThis image is what I currently use to package Golang binaries into usable containers.
Sample Dockerfile
FROM vredens/scratch
ADD myapp.cfg /etc/myapp/
ADD myapp /bin/
EXPOSE 9001
ENTRYPOINT ["/bin/myapp", "-c", "/etc/myapp/myapp.cfg"]
Content type
Image
Digest
Size
151.7 kB
Last updated
about 8 years ago
docker pull vredens/scratch