make domain registration tracker use docker ruby alpine dev container

This commit is contained in:
Brendan McDevitt 2022-11-05 22:28:53 -05:00
parent 109e5f0efb
commit aa491c8cc9
5 changed files with 29 additions and 0 deletions

3
.gitmodules vendored
View file

@ -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

View 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

View 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

@ -0,0 +1 @@
Subproject commit ac8b5d1b36ce7759d9e396af5677a1b4174f0650