Skip to content

update Dockerfile versions #4

Description

@cabiamdos

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"]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions