Skip to content

Commit 8ad6bcb

Browse files
committed
container for debugging
1 parent a0bc7ea commit 8ad6bcb

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ all-cve.jsonl
33
few-cve.jsonl
44
glibc-minor-version-issue/json
55
**/.venv
6+
glvd-postgres-with-data copy/glvd-dump-10.sql
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM ghcr.io/gardenlinux/glvd-postgres:latest
2+
3+
RUN rm /docker-entrypoint-initdb.d/create-extension.sql
4+
5+
COPY glvd-dump-10.sql /docker-entrypoint-initdb.d/init.sql
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build:
2+
podman build -t localhost/glvd-postgres-with-sample-data:latest .
3+
4+
run:
5+
podman run -it --rm --name=glvd-postgres-sample-data --publish 5432:5432 --env POSTGRES_USER=glvd --env POSTGRES_DB=glvd --env POSTGRES_PASSWORD=glvd localhost/glvd-postgres-with-sample-data:latest postgres -c log_statement=all

0 commit comments

Comments
 (0)