Skip to content

Commit

Permalink
Fix container image building error
Browse files Browse the repository at this point in the history
  • Loading branch information
jihoon-seo committed Apr 23, 2021
1 parent 1bd96f9 commit 6f27d64
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 381 deletions.
16 changes: 10 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
FROM golang:1.11.2-alpine as prod
FROM golang:1.16-alpine as prod

WORKDIR /go/src/github.com/cloud-barista/cb-webtool
COPY . .

RUN apk update && apk add git
RUN apk add --no-cache bash
RUN go get -u -v github.com/go-session/echo-session
RUN go get -u github.com/labstack/echo/... && go get github.com/cespare/reflex
RUN go get -u github.com/davecgh/go-spew/spew
#RUN apk update && apk add git
#RUN apk add --no-cache bash
RUN apk update
RUN apk add --no-cache bash git gcc

#RUN go get -u -v github.com/go-session/echo-session
#RUN go get -u github.com/labstack/echo/...
#RUN go get -u github.com/davecgh/go-spew/spew
ENV GO111MODULE on
RUN go get github.com/cespare/reflex

EXPOSE 1234

Expand Down
14 changes: 3 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,12 @@ require (
github.com/foolin/echo-template v0.0.0-20190415034849-543a88245eec
github.com/go-session/echo-session v3.0.0+incompatible
github.com/go-session/session v3.1.2+incompatible // indirect
github.com/gopherjs/gopherjs v0.0.0-20210420193930-a4630ec28c79 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/google/uuid v1.2.0
github.com/labstack/echo v3.3.10+incompatible
github.com/labstack/gommon v0.3.0 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/myesui/uuid v1.0.0 // indirect
github.com/smartystreets/assertions v1.2.0 // indirect
github.com/smartystreets/goconvey v1.6.4 // indirect
github.com/stretchr/testify v1.7.0 // indirect
github.com/twinj/uuid v1.0.0
github.com/valyala/fasttemplate v1.2.1 // indirect
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b
golang.org/x/net v0.0.0-20210421230115-4e50805a0758 // indirect
golang.org/x/sys v0.0.0-20210421221651-33663a62ff08 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/stretchr/testify.v1 v1.2.2 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
)
Loading

0 comments on commit 6f27d64

Please sign in to comment.