grim/tagpull
Clone
Summary
Browse
Changes
Graph
Add a readme
draft
default
tip
2020-12-29, Gary Kramlich
3ecd14cfca54
Add a readme
FROM
golang:1.14
AS
build
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
--no-install-recommends
ca-certificates
COPY
.
/tagpull
WORKDIR
/tagpull
RUN
CGO_ENABLED
=
0
go
build
-ldflags
'-w -extldflags "-static"'
FROM
scratch
COPY
--from
=
build
/etc/ssl/certs/ca-certificates.crt
/etc/ssl/certs/ca-certificates.crt
COPY
--from
=
build
/tagpull/tagpull
/tagpull
CMD
[
"/tagpull"
]