clems4ever/anytype-backup-node

update Dockerfile versions

Opened this issue · 0 comments

the versions of the Dockerfile doesn't work with the current version of anytype, here is the update

########################
# any-sync-coordinator #
########################
FROM golang:1.22.2-bullseye AS any-sync-coordinator
LABEL MAINTAINER="Clément Michaud <clement.michaud34@gmail.com>"

WORKDIR /usr/app

RUN git clone --depth 1 --branch v0.3.21 https://github.com/anyproto/any-sync-coordinator.git
RUN cd any-sync-coordinator && make deps && make build

CMD ["/usr/app/any-sync-coordinator/bin/any-sync-coordinator", "-c", "/etc/anytype/coordinator.yml"]
#################
# any-sync-node #
#################
FROM golang:1.22.2-bullseye AS any-sync-node
LABEL MAINTAINER="Clément Michaud <clement.michaud34@gmail.com>"

WORKDIR /usr/app

RUN git clone --depth 1 --branch v0.3.26 https://github.com/anyproto/any-sync-node.git
RUN cd any-sync-node && make deps && make build
RUN mkdir /usr/app/db

CMD ["/usr/app/any-sync-node/bin/any-sync-node", "-c", "/etc/anytype/sync_1.yml"]
#####################
# any-sync-filenode #
#####################
FROM golang:1.22.2-bullseye AS any-sync-filenode
LABEL MAINTAINER="Clément Michaud <clement.michaud34@gmail.com>"

WORKDIR /usr/app

RUN git clone --depth 1 --branch v0.6.3 https://github.com/anyproto/any-sync-filenode.git
RUN cd any-sync-filenode && make deps && make build

CMD ["/usr/app/any-sync-filenode/bin/any-sync-filenode", "-c", "/etc/anytype/file_1.yml"]