Commit 7700c959 authored by Svetomir Smiljkovic's avatar Svetomir Smiljkovic

Add .dockerignore

parent 923f9b47
.dockerignore
.DS_Store
.git
.gitignore
.github
.idea
.vscode
dist
Dockerfile
*.yaml
*.yml
*.md
FROM golang:1.13 AS build
ARG COMMIT=""
WORKDIR /src
COPY . ./
RUN make binary
RUN make binary COMMIT=$COMMIT
FROM debian:10.2-slim
......
COMMIT ?= ""
GO ?= go
GOLANGCI_LINT ?= golangci-lint
LDFLAGS ?= -s -w -X github.com/janos/bee.commit="$(shell git describe --long --dirty --always --match "" || true)"
LDFLAGS ?= -s -w -X github.com/janos/bee.commit="$(COMMIT)"
.PHONY: all
all: lint vet test binary
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment