Skip to content

Commit

Permalink
Merge 5b5ffb5 into 148d0e0
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Nov 22, 2020
2 parents 148d0e0 + 5b5ffb5 commit 18cebef
Show file tree
Hide file tree
Showing 7 changed files with 406 additions and 76 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ We currently provide a few Docker images:

[target/flottbot:ruby](https://hub.docker.com/r/target/flottbot) - Alpine image, flottbot binary, and ruby v2.7 installed

[target/flottbot:golang](https://hub.docker.com/r/target/flottbot) - Alpine image, flottbot binary, and golang v1.14 installed
[target/flottbot:golang](https://hub.docker.com/r/target/flottbot) - Alpine image, flottbot binary, and golang v1.15 installed

[target/flottbot:python](https://hub.docker.com/r/target/flottbot) - Alpine image, flottbot binary, and python v3.8 installed

Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.14-alpine AS build
FROM golang:1.15-alpine AS build
ARG VERSION
ARG GIT_HASH
ENV GO111MODULE=on
Expand All @@ -12,8 +12,8 @@ RUN go mod download
COPY / .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot

FROM alpine:3.11
ENV USERNAME=flottbot
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile.golang
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.14-alpine AS build
FROM golang:1.15-alpine AS build
ARG VERSION
ARG GIT_HASH
ENV GO111MODULE=on
Expand All @@ -12,10 +12,10 @@ RUN go mod download
COPY / .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot

FROM golang:1.14-alpine
FROM golang:1.15-alpine
ENV USERNAME=flottbot
ENV GROUP=flottbot
ENV UID=900
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile.python
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.14-alpine AS build
FROM golang:1.15-alpine AS build
ARG VERSION
ARG GIT_HASH
ENV GO111MODULE=on
Expand All @@ -12,8 +12,8 @@ RUN go mod download
COPY / .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot

FROM python:3-alpine
ENV USERNAME=flottbot
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile.ruby
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.14-alpine AS build
FROM golang:1.15-alpine AS build
ARG VERSION
ARG GIT_HASH
ENV GO111MODULE=on
Expand All @@ -12,8 +12,8 @@ RUN go mod download
COPY / .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot
go build -a -ldflags "-s -w -X github.com/target/flottbot/version.Version=${VERSION} -X github.com/target/flottbot/version.GitHash=${GIT_HASH}" \
-o flottbot ./cmd/flottbot

FROM ruby:2.7-alpine
ENV USERNAME=flottbot
Expand Down
39 changes: 19 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,40 +1,39 @@
module github.com/target/flottbot

go 1.14
go 1.15

require (
github.com/Masterminds/goutils v1.1.0 // indirect
github.com/Masterminds/semver v1.5.0
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/bwmarrin/discordgo v0.20.3
github.com/bwmarrin/discordgo v0.22.0
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible
github.com/golang/protobuf v1.4.0 // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/gorilla/mux v1.7.4
github.com/huandu/xstrings v1.3.1 // indirect
github.com/imdario/mergo v0.3.9 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/google/uuid v1.1.2 // indirect
github.com/gorilla/mux v1.8.0
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.11 // indirect
github.com/magiconair/properties v1.8.4 // indirect
github.com/mitchellh/copystructure v1.0.0 // indirect
github.com/mitchellh/mapstructure v1.2.2 // indirect
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/mitchellh/reflectwalk v1.0.1 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/pelletier/go-toml v1.7.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.5.1
github.com/prometheus/procfs v0.0.11 // indirect
github.com/pelletier/go-toml v1.8.1 // indirect
github.com/prometheus/client_golang v1.8.0
github.com/prometheus/common v0.15.0 // indirect
github.com/robfig/cron/v3 v3.0.1
github.com/rs/xid v1.2.1
github.com/sirupsen/logrus v1.5.0
github.com/sirupsen/logrus v1.7.0
github.com/slack-go/slack v0.7.2
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/afero v1.4.1 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.6.3
github.com/spf13/viper v1.7.1
github.com/technoweenie/multipartstreamer v1.0.1 // indirect
golang.org/x/crypto v0.0.0-20200423211502-4bdfaf469ed5 // indirect
golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f // indirect
golang.org/x/text v0.3.2 // indirect
gopkg.in/ini.v1 v1.55.0 // indirect
golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9 // indirect
golang.org/x/sys v0.0.0-20201113233024-12cec1faf1ba // indirect
golang.org/x/text v0.3.4 // indirect
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
)
Loading

0 comments on commit 18cebef

Please sign in to comment.