Update Dockerfile

This commit is contained in:
zhaoYangguang 2021-10-27 17:18:35 +08:00
parent 0a41ec3e8f
commit 9b6801398b
2 changed files with 5 additions and 7 deletions

View File

@ -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@edge_community
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev
COPY . /build
WORKDIR /build
RUN go build -o /usr/bin/matrix-skype
FROM alpine:latest
FROM alpine:3.14
ENV UID=1337 \
GID=1337
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN apk add --no-cache su-exec ca-certificates olm@edge_community
RUN apk add --no-cache ffmpeg su-exec ca-certificates olm bash jq yq curl
COPY --from=builder /usr/bin/matrix-skype /usr/bin/matrix-skype
COPY --from=builder /build/example-config.yaml /opt/matrix-skype/example-config.yaml

View File

@ -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).
[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
> A Matrix-WhatsApp puppeting bridge based on the [Rhymen/go-whatsapp](https://github.com/Rhymen/go-whatsapp)