Skip to content
Permalink
Browse files

Makefile: initial commit

  • Loading branch information
philips committed Jun 29, 2019
1 parent aee0527 commit 70fc56f6081dc7619d53241816f0a7bff765f4bd
Showing with 19 additions and 0 deletions.
  1. +12 −0 Dockerfile
  2. +7 −0 Makefile
@@ -0,0 +1,12 @@
# Start by building the application.
FROM golang:1.12 as build

WORKDIR /go/src/github.com/philips/sget
COPY . .

RUN go get -d -v ./...
RUN go install -v ./...

# Now copy it into our base image.
FROM gcr.io/distroless/base
COPY --from=build /go/bin/sget /
@@ -0,0 +1,7 @@
all:
sudo docker build -t quay.io/established/sget .

push:
sudo docker push quay.io/established/sget:latest

.PHONY: all push

0 comments on commit 70fc56f

Please sign in to comment.
You can’t perform that action at this time.