-
Notifications
You must be signed in to change notification settings - Fork 147
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
Add Docker build #461
Comments
Can you submit a PR? (What you are suggesting is nice, but we're all volunteers here.) |
I like the idea of having docker file and publishing images on Docker Hub. By the way here it is a docker-compose.yml which could be used for testing version: '3.3'
services:
sqlline:
container_name: sqlline
image: 'sqlline/sqlline:1.12.0-pg-my-cl'
stdin_open: true
tty: true
postgres:
container_name: pg
image: 'postgres:14.0'
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: 'postgres'
mysql:
image: 'mysql:8.0.27'
ports:
- 3306:3306
environment:
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'password'
MYSQL_ROOT_PASSWORD: 'password'
clickhouse:
image: 'yandex/clickhouse-server:21.8.11.4'
ports:
- 8123:8123
environment:
CLICKHOUSE_DB: my_db_name
CLICKHOUSE_USER: clickhouse-user
CLICKHOUSE_PASSWORD: secret
To start - save it in a
and now sqlline should welcome
So it is still more like a sandbox => other ideas, contributions are welcome. [1] https://hub.docker.com/layers/178760163/sqlline/sqlline/1.12.0/images/sha256-1be56e2dfd205a882b11072a6cda2d1242f868878e6723d54d991bd4c64a2f2e?context=repo |
It would be nice if sqlline were published by the official owner @julianhyde.
There are some sqlline images on Docker Hub, but none of those is frequently updated and when using an image from a third party, one in principle always has to check if they're doing anything malicious.
I would propose to add this Dockerfile (which is the most recently updated one) to this repo.
In a second optional step Github Actions could be used to automatically build and push an updated version whenever the code changes.
The text was updated successfully, but these errors were encountered: