Skip to content

Commit bf6efde

Browse files
committed
build docker image
1 parent c4306ab commit bf6efde

6 files changed

+36
-1
lines changed

Dockerfile-python

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ghcr.io/theshellland/veilid-node:latest
33
COPY entry.sh /entry.sh
44
COPY veilid_demo /veilid_demo
55

6-
RUN python3 -m pip install -U veilid pip
6+
RUN python3 -m pip install --break-system-packages -U veilid pip
77

88
# config
99
VOLUME /root/.config/veilid/

veilid-server

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# run veilid
4+
5+
cd $(dirname $0); set -xe
6+
7+
bash run.sh "$@"

veilid-server-config

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# exec into veilid
4+
5+
cd $(dirname $0); set -xe
6+
7+
bash veilid-server --dump-config

veilid-server-exec

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# exec into veilid
4+
5+
cd $(dirname $0); set -xe
6+
7+
docker exec -it veilid-server bash

veilid-server-logs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# exec into veilid
4+
5+
cd $(dirname $0); set -xe
6+
7+
docker logs veilid-server "$@"

veilid-server-stop

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# run veilid
4+
5+
cd $(dirname $0); set -xe
6+
7+
docker stop veilid-server

0 commit comments

Comments
 (0)