grim/tagpull
Clone
Summary
Browse
Changes
Graph
Add the gplv3 license
draft
2020-09-21, Gary Kramlich
43b03be98fab
Add the gplv3 license
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"
]