-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (23 loc) · 810 Bytes
/
Dockerfile
File metadata and controls
27 lines (23 loc) · 810 Bytes
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
FROM ruby:3.3-bookworm
LABEL maintainer="Markus Bucher <bucher@atix.de>" \
description="This container provides an errata-parser for Debian and Ubuntu" \
website="https://github.com/ATIX-AG/errata_parser"
# Install base dependencies:
RUN apt-get update && apt-get install -y \
build-essential \
libapt-pkg-dev
# Add and install the errata parser:
COPY . /errata_parser/
WORKDIR /errata_parser
RUN bundle config set --local deployment 'true'
RUN bundle config set --local without 'rubocop'
RUN bundle install
# Configure and run the errata parser:
VOLUME /errata
COPY default_config.json /etc/errata_parser.json
CMD bundle exec errata_parser.rb \
--config /errata/config.json \
--debian /errata/ \
--ubuntu /errata/ \
--ubuntu-esm /errata/ \
--metadata