diff options
author | 2023-06-18 15:17:28 -0700 | |
---|---|---|
committer | 2023-06-18 15:17:28 -0700 | |
commit | 6f2b9a591a06ff734e99d4ca3724f328aa50e99e (patch) | |
tree | 17cd2b733e639ec5d941330c8b0f39bfd606dd3c | |
parent | add missing rss dependency (diff) | |
download | security-6f2b9a591a06ff734e99d4ca3724f328aa50e99e.tar.gz security-6f2b9a591a06ff734e99d4ca3724f328aa50e99e.tar.bz2 security-6f2b9a591a06ff734e99d4ca3724f328aa50e99e.zip |
add a simple Dockerfile for local testingHEAD20230618T221847Zmaster
Signed-off-by: John Helmert III <ajak@gentoo.org>
-rw-r--r-- | Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bda4038 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ruby:3.0 + +RUN apt update +RUN apt install -y make gcc g++ ruby-dev ruby-bundler git thin + +COPY . /var/www/security + +WORKDIR /var/www/security/data + +RUN git clone https://anongit.gentoo.org/git/data/glsa.git + +EXPOSE 9995 + +WORKDIR /var/www/security + +RUN bundle install --deployment + +CMD bundle exec thin -p 9995 start |