mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-28 01:03:10 -06:00
Add basic dockerfile
This commit is contained in:
parent
1cd6a17ad4
commit
cecdec2dec
11
.github/workflows/Dockerfile.copyin
vendored
Normal file
11
.github/workflows/Dockerfile.copyin
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
ARG DENDRITE_BINARY=
|
||||||
|
ENV DENDRITE_BINARY=/usr/bin/${DENDRITE_BINARY}
|
||||||
|
|
||||||
|
COPY ./bin/* /usr/bin
|
||||||
|
|
||||||
|
VOLUME /etc/dendrite
|
||||||
|
WORKDIR /etc/dendrite
|
||||||
|
|
||||||
|
ENTRYPOINT ["${DENDRITE_BINARY}"]
|
||||||
2
.github/workflows/cross-compiling-docker.yml
vendored
2
.github/workflows/cross-compiling-docker.yml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./build/docker/Dockerfile.monolith
|
file: ./.github/workflows/Dockerfile.copyin
|
||||||
platforms: ${{ env.PLATFORMS }}
|
platforms: ${{ env.PLATFORMS }}
|
||||||
push: false
|
push: false
|
||||||
tags: |
|
tags: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue