Skip to content

Commit

Permalink
Fix images to work with koji 1.18
Browse files Browse the repository at this point in the history
In koji-builder, the koji package now needs to be installed explicitly.

In koji-db, we need an up-to-date schema. Koji no longer does branches
for individual versions, so let's just put the entire schema in git.

Signed-off-by: Adam Cmiel <acmiel@redhat.com>
  • Loading branch information
chmeliik committed Sep 20, 2019
1 parent c365685 commit 4a8b6b0
Show file tree
Hide file tree
Showing 4 changed files with 907 additions and 6 deletions.
1 change: 1 addition & 0 deletions koji-builder/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM osbs-box:rhel7

RUN yum install -y \
mock \
koji \
koji-builder \
koji-containerbuild-builder \
osbs-client \
Expand Down
3 changes: 0 additions & 3 deletions koji-db/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ MAINTAINER Luiz Carvalho <lucarval@redhat.com>
# alphabetical order
COPY sql-init/ /docker-entrypoint-initdb.d/

ADD https://pagure.io/koji/raw/koji-1.16-updates/f/docs/schema.sql \
/docker-entrypoint-initdb.d/00-schema.sql

RUN chmod o+r /docker-entrypoint-initdb.d/00-schema.sql
3 changes: 0 additions & 3 deletions koji-db/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,4 @@ MAINTAINER Luiz Carvalho <lucarval@redhat.com>
# alphabetical order
COPY sql-init/ /docker-entrypoint-initdb.d/

ADD https://pagure.io/koji/raw/koji-1.16-updates/f/docs/schema.sql \
/docker-entrypoint-initdb.d/00-schema.sql

RUN chmod o+r /docker-entrypoint-initdb.d/00-schema.sql
Loading

0 comments on commit 4a8b6b0

Please sign in to comment.