Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM nimlang/nim:alpine

COPY . /nwsync

RUN apk --no-cache add pcre \
&& cd nwsync \
&& nimble install -y \
&& cd -

ENV PATH="/nwsync/bin:${PATH}"
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ To build these tools, first install the most recent nim compiler. The suggested

After nim is installed and available on your path, simply clone this repository and type `nimble build -d:release`.

### Using with docker

```bash
docker build --rm -t Beamdog/nwsync:dev .
docker run --rm -w /manifests -v $(pwd):/manifests Beamdog/nwsync:dev nwsync_write --compression="none" nwsync module.mod
```

## Documentation

There is a technical user manual available at https://docs.google.com/document/d/1eYRTd6vzk7OrLpr2zlwnUk7mgUsyiZzLoR6k54njBVI.