Update Dockerfile
This commit is contained in:
parent
0a41ec3e8f
commit
9b6801398b
10
Dockerfile
10
Dockerfile
|
@ -1,19 +1,17 @@
|
||||||
FROM golang:1-alpine AS builder
|
FROM golang:1-alpine3.14 AS builder
|
||||||
|
|
||||||
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
|
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev
|
||||||
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev@edge_community
|
|
||||||
|
|
||||||
COPY . /build
|
COPY . /build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN go build -o /usr/bin/matrix-skype
|
RUN go build -o /usr/bin/matrix-skype
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:3.14
|
||||||
|
|
||||||
ENV UID=1337 \
|
ENV UID=1337 \
|
||||||
GID=1337
|
GID=1337
|
||||||
|
|
||||||
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
|
RUN apk add --no-cache ffmpeg su-exec ca-certificates olm bash jq yq curl
|
||||||
RUN apk add --no-cache su-exec ca-certificates olm@edge_community
|
|
||||||
|
|
||||||
COPY --from=builder /usr/bin/matrix-skype /usr/bin/matrix-skype
|
COPY --from=builder /usr/bin/matrix-skype /usr/bin/matrix-skype
|
||||||
COPY --from=builder /build/example-config.yaml /opt/matrix-skype/example-config.yaml
|
COPY --from=builder /build/example-config.yaml /opt/matrix-skype/example-config.yaml
|
||||||
|
|
|
@ -22,7 +22,7 @@ matrix-skype is a library for bridging matrix and skype, about matrix, please re
|
||||||
The skype api lib of matrix-skype is [go-skypeapi](https://github.com/kelaresg/go-skypeapi).
|
The skype api lib of matrix-skype is [go-skypeapi](https://github.com/kelaresg/go-skypeapi).
|
||||||
[matrix room(#goskypebridge:matrix.org)](https://app.element.io/#/room/#goskypebridge:matrix.org)
|
[matrix room(#goskypebridge:matrix.org)](https://app.element.io/#/room/#goskypebridge:matrix.org)
|
||||||
|
|
||||||
This matrix-skype bridge is based on [mautrix-whatsapp](https://github.com/tulir/mautrix-whatsapp),so the installation and usage methods are very similar to mautrix-whatsapp(matrix-skype currently does not support docker installation)
|
This matrix-skype bridge is based on [mautrix-whatsapp](https://github.com/tulir/mautrix-whatsapp),so the installation and usage methods are very similar to mautrix-whatsapp
|
||||||
|
|
||||||
> # mautrix-whatsapp
|
> # mautrix-whatsapp
|
||||||
> A Matrix-WhatsApp puppeting bridge based on the [Rhymen/go-whatsapp](https://github.com/Rhymen/go-whatsapp)
|
> A Matrix-WhatsApp puppeting bridge based on the [Rhymen/go-whatsapp](https://github.com/Rhymen/go-whatsapp)
|
||||||
|
|
Loading…
Reference in New Issue