Skip to content
Snippets Groups Projects
Commit 1327251e authored by Eric Lynema's avatar Eric Lynema Committed by akwizgran
Browse files

Added Dockerfile to run the mailbox.

parent 6511e186
No related branches found
No related tags found
1 merge request!181Added Dockerfile to run the mailbox.
FROM eclipse-temurin:11 AS build
WORKDIR /mailbox
COPY . /mailbox
RUN ./gradlew x86LinuxJar
FROM eclipse-temurin:11
RUN mkdir -p /root/.local/share
VOLUME /root
WORKDIR /mailbox
COPY --from=build /mailbox/mailbox-cli/build/libs/mailbox-cli-linux-x86_64.jar /mailbox/mailbox-cli-linux-x86_64.jar
CMD [ "java", "-jar", "/mailbox/mailbox-cli-linux-x86_64.jar" ]
...@@ -98,6 +98,15 @@ And also ARM64 with ...@@ -98,6 +98,15 @@ And also ARM64 with
./gradlew aarch64LinuxJar ./gradlew aarch64LinuxJar
As well as a docker container can be built with
docker build -t briar/mailbox .
And run with
docker volume create briar-mailbox-1
docker run --name briar-mailbox --volume briar-mailbox-1:/root briar/mailbox
## Donate ## Donate
[![Donate using Liberapay](https://briarproject.org/img/liberapay.svg)](https://liberapay.com/Briar/donate) [![Flattr this](https://briarproject.org/img/flattr-badge-large.png "Flattr this")](https://flattr.com/t/592836/) [![Donate using Liberapay](https://briarproject.org/img/liberapay.svg)](https://liberapay.com/Briar/donate) [![Flattr this](https://briarproject.org/img/flattr-badge-large.png "Flattr this")](https://flattr.com/t/592836/)
Bitcoin and BCH: 1NZCKkUCtJV2U2Y9hDb9uq8S7ksFCFGR6K Bitcoin and BCH: 1NZCKkUCtJV2U2Y9hDb9uq8S7ksFCFGR6K
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment