grim/wasdead
Clone
Summary
Browse
Changes
Graph
hide the youtube command as it doesn't quite work correctly and I don't want to fix it right now
draft
2020-09-26, Gary Kramlich
b05edb50a737
hide the youtube command as it doesn't quite work correctly and I don't want to fix it right now
FROM
golang:1.13
AS
build
RUN
set
-ex
&&
\
apt-get
update
&&
\
apt-get
install
-y
--no-install-recommends
ca-certificates
&&
\
apt-get
clean
&&
\
rm
-rf
/var/lib/apt/lists
COPY
.
/wasdead
WORKDIR
/wasdead
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
/wasdead/wasdead
/wasdead
CMD
[
"/wasdead"
,
"run"
]