15 lines
No EOL
334 B
Docker
15 lines
No EOL
334 B
Docker
FROM golang:alpine AS builder
|
|
|
|
WORKDIR /go/src/git.zio.sh/astra/bsky2tg
|
|
|
|
RUN apk update && \
|
|
apk add --no-cache git bash && \
|
|
git clone ssh://git@git.zio.sh:2222/astra/bsky2tg.git . && \
|
|
go get -d -v ./... && \
|
|
go install
|
|
|
|
FROM alpine:latest
|
|
|
|
COPY --from=builder /go/bin/bsky2tg /usr/local/bin/bsky2tg
|
|
|
|
CMD ["bsky2tg"] |