make domain registration tracker use docker ruby alpine dev container
This commit is contained in:
parent
109e5f0efb
commit
aa491c8cc9
5 changed files with 29 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
|||
[submodule "tools/cvelist"]
|
||||
path = tools/cvelist
|
||||
url = https://github.com/CVEProject/cvelist
|
||||
[submodule "containers/domain_registration_tracker/nicinfo"]
|
||||
path = containers/domain_registration_tracker/nicinfo
|
||||
url = git@github.com:arineng/nicinfo.git
|
||||
|
|
11
containers/domain_registration_tracker/Dockerfile
Normal file
11
containers/domain_registration_tracker/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM alpinelab/ruby-dev
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --assume-yes --no-install-recommends --no-install-suggests \
|
||||
pry \
|
||||
&& apt-get install --assume-yes --no-install-recommends --no-install-suggests\
|
||||
jq \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
|
||||
chmod +x /usr/bin/yq \
|
||||
&& curl -sSL https://bit.ly/install-xq | bash
|
14
containers/domain_registration_tracker/docker-compose.yml
Normal file
14
containers/domain_registration_tracker/docker-compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
version: "3"
|
||||
volumes:
|
||||
bundle: { driver: local }
|
||||
node_modules: { driver: local }
|
||||
config: { driver: local }
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports: ["5000:5000"]
|
||||
volumes:
|
||||
- .:/app
|
||||
- bundle:/bundle
|
||||
- node_modules:/app/node_modules
|
||||
- config:/config
|
1
containers/domain_registration_tracker/nicinfo
Submodule
1
containers/domain_registration_tracker/nicinfo
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ac8b5d1b36ce7759d9e396af5677a1b4174f0650
|
Loading…
Add table
Reference in a new issue