Skip to content

Commit 697721c

Browse files
committed
Fix docker build
1 parent 39aee38 commit 697721c

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
FROM golang:alpine as builder
2-
MAINTAINER Ross Smith II <ross@smithii.com>
2+
LABEL maintainer="Ross Smith II <ross@smithii.com>"
33

44
ENV PATH /go/bin:/usr/local/go/bin:$PATH
55
ENV GOPATH /go
66

7-
RUN apk add --no-cache \
8-
ca-certificates
9-
107
COPY . /go/src/github.com/rasa/feedster
118

129
RUN set -x \
@@ -17,7 +14,7 @@ RUN set -x \
1714
libgcc \
1815
make \
1916
&& cd /go/src/github.com/rasa/feedster \
20-
&& make static \
17+
&& make vendor static \
2118
&& mv feedster /usr/bin/feedster \
2219
&& apk del .build-deps \
2320
&& rm -rf /go \
@@ -26,7 +23,6 @@ RUN set -x \
2623
FROM alpine:latest
2724

2825
COPY --from=builder /usr/bin/feedster /usr/bin/feedster
29-
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
3026

3127
ENTRYPOINT [ "feedster" ]
3228
CMD [ "--help" ]

‎go.mod‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ require (
44
github.com/360EntSecGroup-Skylar/excelize v1.4.0
55
github.com/bogem/id3v2 v1.1.1
66
github.com/eduncan911/podcast v1.3.1-0.20170513192611-39a754964aa4
7+
github.com/gocarina/gocsv v0.0.0-20190313153828-c075544dca88
78
github.com/mattn/go-colorable v0.0.9
89
github.com/mattn/go-isatty v0.0.4 // indirect
910
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect

‎go.sum‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
66
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
77
github.com/eduncan911/podcast v1.3.1-0.20170513192611-39a754964aa4 h1:ePvuuDw9OPl2r2zZk4nTN2umNbM5pfTlLvpvJdcQiLA=
88
github.com/eduncan911/podcast v1.3.1-0.20170513192611-39a754964aa4/go.mod h1:C7Q04QZtv7LW/1X67mc1zwsktpZ68kbxsUS3CYWniJg=
9+
github.com/gocarina/gocsv v0.0.0-20190313153828-c075544dca88 h1:5LpQh+LOxj+TkkgajWlWBlCeBagmKD+/i+IdA13XSlk=
10+
github.com/gocarina/gocsv v0.0.0-20190313153828-c075544dca88/go.mod h1:/oj50ZdPq/cUjA02lMZhijk5kR31SEydKyqah1OgBuo=
911
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
1012
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
1113
github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=

0 commit comments

Comments
 (0)