mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
b23c2777c7
commit
57fed4b735
|
@ -1,37 +0,0 @@
|
||||||
FROM ruby:alpine
|
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
|
||||||
ca-certificates \
|
|
||||||
git \
|
|
||||||
libxml2 \
|
|
||||||
libxslt \
|
|
||||||
mariadb-dev \
|
|
||||||
nodejs \
|
|
||||||
tzdata
|
|
||||||
|
|
||||||
RUN set -x \
|
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
|
||||||
build-base \
|
|
||||||
cmake \
|
|
||||||
libxml2-dev \
|
|
||||||
libxslt-dev \
|
|
||||||
pkgconfig \
|
|
||||||
ruby-json \
|
|
||||||
&& git clone --depth 1 https://github.com/srcclr/commit-watcher.git /usr/src/commit-watcher \
|
|
||||||
&& ( \
|
|
||||||
cd /usr/src/commit-watcher \
|
|
||||||
&& gem install \
|
|
||||||
activesupport-json_encoder \
|
|
||||||
--no-rdoc --no-ri \
|
|
||||||
&& bundle config build.nokogiri --use-system-libraries \
|
|
||||||
&& bundle update sdoc \
|
|
||||||
&& bundle install \
|
|
||||||
) \
|
|
||||||
&& apk del .build-deps
|
|
||||||
|
|
||||||
WORKDIR /usr/src/commit-watcher
|
|
||||||
|
|
||||||
COPY database.yml /usr/src/commit-watcher/config/database.yml
|
|
||||||
VOLUME /usr/src/commit-watcher
|
|
||||||
|
|
||||||
CMD ["./scripts/deploy"]
|
|
|
@ -1,28 +0,0 @@
|
||||||
default: &default
|
|
||||||
adapter: mysql2
|
|
||||||
encoding: utf8
|
|
||||||
pool: 5
|
|
||||||
username: root
|
|
||||||
password:
|
|
||||||
# Use this for local mysql instances
|
|
||||||
socket: /var/run/mysqld/mysqld.sock
|
|
||||||
|
|
||||||
# Use this for Docker
|
|
||||||
#host: localhost:3306
|
|
||||||
|
|
||||||
development:
|
|
||||||
<<: *default
|
|
||||||
database: commit_watcher_development
|
|
||||||
|
|
||||||
# Warning: The database defined as "test" will be erased and
|
|
||||||
# re-generated from your development database when you run "rake".
|
|
||||||
# Do not set this db to the same as development or production.
|
|
||||||
test:
|
|
||||||
<<: *default
|
|
||||||
database: commit_watcher_test
|
|
||||||
|
|
||||||
production:
|
|
||||||
<<: *default
|
|
||||||
username: commit_watcher
|
|
||||||
password: <%= ENV['COMMIT_WATCHER_DATABASE_PASSWORD'] %>
|
|
||||||
database: commit_watcher_production
|
|
|
@ -14,7 +14,7 @@ RUN apk add --no-cache \
|
||||||
|
|
||||||
# Get go deps for tests etc.
|
# Get go deps for tests etc.
|
||||||
RUN go get honnef.co/go/tools/cmd/staticcheck \
|
RUN go get honnef.co/go/tools/cmd/staticcheck \
|
||||||
github.com/golang/lint/golint \
|
golang.org/x/lint/golint \
|
||||||
github.com/google/go-cmp/cmp
|
github.com/google/go-cmp/cmp
|
||||||
|
|
||||||
WORKDIR /go/src/k8scan
|
WORKDIR /go/src/k8scan
|
||||||
|
|
Loading…
Reference in New Issue
Block a user