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

3
Dockerfile Normal file
View File

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