Comments (5)
My suggestions what should be done here:
Alpine and/or debian
Create an image based on alpine golang:1.6-alpine
and debian golang:1.6
Info from the golang image
This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements.
Image sizes
$ sudo docker images -a
REPOSITORY TAG IMAGE ID CREATED SIZE
golang 1.6 2529f72145a7 8 days ago 744 MB
golang 1.6-alpine c40da134e949 4 weeks ago 238 MB
All in one package
Should we create an "all in one package" with postgres? Could be useful for testing purpose like the vagrant machine is.
Build and push
One task is to build and push the image with the CI server (travis)
Docker compose
Create a compose yaml to run database and hydra with one command. I don't know how to "hide" the database passwords - by environments vars?
from hydra.
Looks good! As of right now, we have multiple executables (see cli). I was thinking of splitting those up in separate repositories as the current pattern tricky do deal with in buildpacks. Could multiple executables work with Docker or is it there an issue as well?
from hydra.
Ok, of course we could simply build multiple executables in the Dockerfile and expose them on different ports. So it shouldn't be a huge deal
from hydra.
The docker best practice doc says:
In almost all cases, you should only run a single process in a single container.
That's why we should create multiple containers for the different executables.
from hydra.
Ok, I don't think that would work with docker autobuild. Looks like we have to create multiple repositories.
from hydra.
Related Issues (20)
- When there are no OAuth2 clients registered, getClients API will always return rel="next" in the Link header
- Foresee option token_endpoint_auth_signing_alg when creating/updating oauth2 clients
- Internal Server Error when doing POST to /oauth2/token during Code Grant flow when exchanging Code on Token HOT 1
- `Dockerfile`: Remove `VOLUME` instruction
- `Dockerfile`: Remove `/etc/nsswitch.conf` workaround HOT 1
- Configure sensitive fields that should be redacted HOT 1
- Cannot sign up twice from the same client
- Reading cookie in cross-site context will be blocked in future Chrome versions HOT 7
- Add tracing headers (or cookies) to the "User login and consent flow" so login service and ui service can link their traces to hydra's traceparent HOT 1
- quickstart 5-min fails: permission denied
- cli: add access token strategy parameter HOT 1
- Calling end_session_endpoint with id_token_hint errors when JWK is rotated HOT 2
- UPGRADE.md is outdated and linked in release communications for 2.2
- Cannot exchange external OIDC ID token for Hydra access token due to `aud` claim handling in Hydra HOT 1
- cli: add `--id` parameter to the `create oauth2-client` command
- Assertions may be reused & dead lock
- Add `prompt=create` alias for `prompt=registration`
- Add scope strategy allowing different separator for prefixes, resources and verbs HOT 1
- Deletes are not getting committed on CockroachDB HOT 2
- Deletes are not respecting the time boundaries with CockroachDB HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydra.