1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add Dockerfile

This commit is contained in:
Chris Cummer 2019-07-28 07:30:23 -07:00
parent 3291ce008a
commit 16c1b2ad87
2 changed files with 12 additions and 5 deletions

View File

@ -2,9 +2,8 @@ env:
- GO111MODULE=on
- GOPROXY="https://gocenter.io"
before:
hooks:
- make install
archive:
wrap_in_directory: true
builds:
- binary: wtfutil
@ -15,6 +14,10 @@ builds:
- 386
- amd64
before:
hooks:
- make install
brews:
- github:
owner: wtfutil
@ -24,5 +27,6 @@ brews:
homepage: 'https://wtfutil.com'
description: 'The personal information dashboard for your terminal.'
archive:
wrap_in_directory: true
dockers:
- image_templates:
- wtfutil/wtf

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM scratch
COPY mybin /
ENTRYPOINT ["/wtfutil"]