mirror of https://github.com/perkeep/perkeep.git
Add Dockerfile and Makefile for 'camlistore/camlistored' Docker image.
Change-Id: Ied7055689f1946ce0e6a857b4e6ddd5f8dca79b9
This commit is contained in:
parent
38cceb30aa
commit
38b97e1b9a
|
@ -0,0 +1 @@
|
|||
camlistored
|
|
@ -0,0 +1,5 @@
|
|||
FROM scratch
|
||||
MAINTAINER Brad Fitzpatrick <brad@danga.com>
|
||||
ADD camlistored /camlistored
|
||||
EXPOSE 80 443
|
||||
ENTRYPOINT ["/camlistored"]
|
|
@ -0,0 +1,5 @@
|
|||
docker: Dockerfile camlistored
|
||||
docker build -t camlistore/camlistored .
|
||||
|
||||
camlistored:
|
||||
CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' -o camlistored camlistore.org/server/camlistored
|
Loading…
Reference in New Issue