fix: docker build
This commit is contained in:
parent
e11d7dc787
commit
70b8cd3c55
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
**/target/
|
||||
**/.git/
|
||||
**/out/
|
@ -19,6 +19,6 @@ steps:
|
||||
- docker login -u kieran -p $TOKEN git.v0l.io
|
||||
- docker login -u voidic -p $DOCKER_TOKEN
|
||||
- docker buildx create --name mybuilder --bootstrap --use
|
||||
- docker buildx build --push --platform linux/amd64 -t git.v0l.io/kieran/zap-stream-core:latest -t voidic/zap-stream-core:latest .
|
||||
- docker buildx build --push --platform linux/amd64 -t git.v0l.io/kieran/zap-stream-core:latest -t voidic/zap-stream-core:latest -f ./crates/zap-stream/Dockerfile .
|
||||
- kill $(cat /var/run/docker.pid)
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
target/
|
||||
.git/
|
||||
out/
|
@ -31,7 +31,7 @@ RUN git clone --single-branch --branch release/7.1 https://git.ffmpeg.org/ffmpeg
|
||||
--disable-static \
|
||||
--enable-shared && \
|
||||
make -j$(nproc) && make install
|
||||
RUN cargo install --path . --bin zap-stream-core --root /app/build --features zap-stream
|
||||
RUN cargo install --path ./crates/zap-stream --root /app/build
|
||||
|
||||
FROM $IMAGE AS runner
|
||||
WORKDIR /app
|
||||
|
Loading…
x
Reference in New Issue
Block a user