Skip to content

Commit

Permalink
update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed Nov 27, 2017
1 parent 06e278e commit 40ced2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ prof.mem
.glide/

.DS_Store
.idea
vendor/
node_modules/
11 changes: 4 additions & 7 deletions Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
# and a workspace (GOPATH) configured at /go.
FROM golang:1.9.2-stretch

ARG GITHUB_TOKEN=""

ENV LIBVIPS_VERSION 8.5.9
ENV DEP_VERSION v0.3.2

# Installs libvips + required libraries
RUN \
# Install dependencies
Expand Down Expand Up @@ -32,9 +33,6 @@ RUN \
apt-get install ruby ruby-dev rubygems -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Server port to listen
ENV PORT 8080

# gcc for cgo
RUN apt-get update && apt-get install -y \
gcc curl git libc6-dev make ca-certificates \
Expand All @@ -52,8 +50,7 @@ WORKDIR $GOPATH
RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/$DEP_VERSION/dep-linux-amd64 && chmod +x /usr/local/bin/dep
ADD . /go/src/github.com/aldor007/mort

RUN cd /go/src/github.com/aldor007/mort && dep ensure -vendor-only
RUN cd /go/src/github.com/aldor007/mort; dep ensure -vendor-only
# RUN build
RUN cd /go/src/github.com/aldor007/mort; go build cmd/mort/mort.go
RUN cd /go/src/github.com/aldor007/mort; goreleaser
RUN cd /go/src/github.com/aldor007/mort; GITHUB_TOKEN=${GITHUB_TOKEN} goreleaser

0 comments on commit 40ced2c

Please sign in to comment.