mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
cleanup and fix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
00061e1f87
commit
045e5ad633
|
@ -405,7 +405,7 @@ func inc(ip net.IP) {
|
|||
}
|
||||
|
||||
func sendEmail(uri, ip string, port int, arinInfo ARINResponse) error {
|
||||
mailgunClient := mailgun.NewMailgun(mailgunDomain, mailgunAPIKey, "")
|
||||
mailgunClient := mailgun.NewMailgun(mailgunDomain, mailgunAPIKey)
|
||||
|
||||
msg, _, err := mailgunClient.Send(mailgunClient.NewMessage(
|
||||
/* From */ fmt.Sprintf("%s <%s>", emailSender, emailSender),
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
FROM ruby:alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
libxml2 \
|
||||
libxslt \
|
||||
postgresql-libs \
|
||||
sqlite-libs
|
||||
|
||||
RUN set -x \
|
||||
&& apk add --no-cache --virtual .build-deps \
|
||||
build-base \
|
||||
git \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
pkgconfig \
|
||||
postgresql-dev \
|
||||
sqlite-dev \
|
||||
&& git clone --depth 1 https://github.com/heroku/windmill.git /usr/src/windmill \
|
||||
&& ( \
|
||||
cd /usr/src/windmill \
|
||||
&& sed -i 's/ruby "2.2.3"/ruby "2.5.1"/' Gemfile \
|
||||
&& bundle config build.nokogiri --use-system-libraries \
|
||||
&& bundle install \
|
||||
) \
|
||||
&& apk del .build-deps
|
||||
|
||||
WORKDIR /usr/src/windmill
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "entrypoint.sh" ]
|
||||
CMD [ "puma", "-C", "puma.rb" ]
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
rake db:setup
|
||||
|
||||
exec "$@"
|
Loading…
Reference in New Issue
Block a user