mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-16 23:15:45 +03:00
ci: switch to v2-as-default script
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
include:
|
||||
- project: 'mautrix/ci'
|
||||
file: '/gov2.yml'
|
||||
|
||||
variables:
|
||||
BINARY_NAME_V2: mautrix-telegram
|
||||
file: '/gov2-as-default.yml'
|
||||
|
||||
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM golang:1-alpine3.23 AS builder
|
||||
|
||||
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev
|
||||
|
||||
COPY . /build
|
||||
WORKDIR /build
|
||||
RUN ./build.sh
|
||||
|
||||
FROM alpine:3.23
|
||||
|
||||
ENV UID=1337 \
|
||||
GID=1337
|
||||
|
||||
RUN apk add --no-cache ffmpeg su-exec ca-certificates olm bash jq curl yq-go lottieconverter
|
||||
|
||||
COPY --from=builder /build/mautrix-telegram /usr/bin/mautrix-telegram
|
||||
COPY --from=builder /build/docker-run.sh /docker-run.sh
|
||||
VOLUME /data
|
||||
|
||||
CMD ["/docker-run.sh"]
|
||||
Reference in New Issue
Block a user