Skip to content

Commit

Permalink
Include auth model in OCI image (#1212)
Browse files Browse the repository at this point in the history
* Include auth model in OCI image

* Make OpenFGA top levels and add symlink for test folder

* Remove mkdir line

---------

Co-authored-by: Ales Stimec <ales.stimec@canonical.com>
  • Loading branch information
kian99 and alesstimec authored May 17, 2024
1 parent 86ae8c0 commit d7037a8
Show file tree
Hide file tree
Showing 4 changed files with 450 additions and 448 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ LABEL org.opencontainers.image.source=https://github.com/canonical/jimm
LABEL org.opencontainers.image.description="JIMM server container image"
RUN apt-get -qq update && apt-get -qq install -y ca-certificates postgresql-client
WORKDIR /root/
COPY --from=build-env /usr/src/jimm/openfga/authorisation_model.json ./openfga/
COPY --from=build-env /usr/src/jimm/jimmsrv .
COPY --from=build-env /usr/src/jimm/internal/dbmodel/sql ./sql/
ENTRYPOINT [ "./jimmsrv" ]
Expand Down
Loading

0 comments on commit d7037a8

Please sign in to comment.