Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OIDC/Auth2 integration #293

Open
wants to merge 2 commits into
base: feature/keycloak-oidc
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ EXPOSE 9012

CMD CompileDaemon -log-prefix=false -build="go build" -command="./openslides-vote-service"

FROM development as development-fullstack

COPY --from=autoupdate / /openslides-autoupdate-service
RUN echo 'replace github.com/OpenSlides/openslides-autoupdate-service => /openslides-autoupdate-service' >> go.mod && \
go mod tidy

# Productive build
FROM scratch
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
build-dev:
docker build . --target development --tag openslides-vote-dev

build-dev-fullstack:
DOCKER_BUILDKIT=1 docker build . --target development-fullstack --build-context autoupdate=../openslides-autoupdate-service --tag openslides-vote-dev-fullstack

run-tests:
docker build . --target testing --tag openslides-vote-test
docker run openslides-vote-test
Expand Down
Loading