forked from dependabot/dependabot-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.development
62 lines (46 loc) · 2.6 KB
/
Dockerfile.development
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
FROM dependabot/dependabot-core
RUN apt-get update && apt-get install -y vim strace ltrace gdb
RUN useradd -m dependabot
RUN chown -R dependabot:dependabot /usr/local/.pyenv /opt/go/gopath
USER dependabot
RUN curl -L -o ~/.vimrc https://github.com/hmarr/dotfiles/raw/master/vimrc-vanilla.vim && \
echo 'export PS1="[dependabot-core-dev] \w \[$(tput setaf 4)\]$ \[$(tput sgr 0)\]"' >> ~/.bashrc
RUN mkdir -p /home/dependabot/dependabot-core/lib/dependabot
WORKDIR /home/dependabot/dependabot-core
ENV BUNDLE_PATH="/home/dependabot/.bundle" \
BUNDLE_BIN=".bundle/binstubs" \
PATH=".bundle/binstubs:$PATH"
COPY Gemfile dependabot-core.gemspec /home/dependabot/dependabot-core/
COPY lib/dependabot/version.rb /home/dependabot/dependabot-core/lib/dependabot/
RUN bundle install
RUN mkdir -p /home/dependabot/dependabot-core/terraform
COPY terraform/Gemfile terraform/dependabot-terraform.gemspec /home/dependabot/dependabot-core/terraform/
RUN cd terraform && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/elm
COPY elm/Gemfile elm/dependabot-elm.gemspec /home/dependabot/dependabot-core/elm/
RUN cd elm && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/docker
COPY docker/Gemfile docker/dependabot-docker.gemspec /home/dependabot/dependabot-core/docker/
RUN cd docker && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/git_submodules
COPY git_submodules/Gemfile git_submodules/dependabot-git_submodules.gemspec /home/dependabot/dependabot-core/git_submodules/
RUN cd git_submodules && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/python
COPY python/Gemfile python/dependabot-python.gemspec /home/dependabot/dependabot-core/python/
RUN cd python && bundle install
<<<<<<< HEAD
RUN mkdir -p /home/dependabot/dependabot-core/nuget
COPY nuget/Gemfile nuget/dependabot-nuget.gemspec /home/dependabot/dependabot-core/nuget/
RUN cd nuget && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/maven
COPY maven/Gemfile maven/dependabot-maven.gemspec /home/dependabot/dependabot-core/maven/
RUN cd maven && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/gradle
COPY gradle/Gemfile gradle/dependabot-gradle.gemspec /home/dependabot/dependabot-core/gradle/
RUN cd gradle && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/cargo
COPY cargo/Gemfile cargo/dependabot-cargo.gemspec /home/dependabot/dependabot-core/cargo/
RUN cd cargo && bundle install
RUN mkdir -p /home/dependabot/dependabot-core/go_modules
COPY go_modules/Gemfile go_modules/dependabot-go_modules.gemspec /home/dependabot/dependabot-core/go_modules/
RUN cd go_modules && bundle install