-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add summit-legacy docker for testing
- Loading branch information
Showing
8 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/target | ||
crates/**/.privkey | ||
*.db | ||
|
||
test/summit-legacy/cache | ||
test/summit-legacy/db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM debian:bookworm AS builder | ||
RUN apt update | ||
RUN apt install -y \ | ||
build-essential \ | ||
curl \ | ||
wget \ | ||
git \ | ||
libcurl4-openssl-dev \ | ||
libdbus-1-dev \ | ||
liblmdb-dev \ | ||
libsodium-dev \ | ||
libssl-dev \ | ||
libxml2-dev \ | ||
libxxhash-dev \ | ||
libz-dev \ | ||
libzstd-dev | ||
RUN mkdir -p ~/dlang && wget https://dlang.org/install.sh -O ~/dlang/install.sh | ||
RUN chmod +x ~/dlang/install.sh | ||
RUN ~/dlang/install.sh install ldc-1.32.2 | ||
RUN git clone https://github.com/serpent-os/libmoss.git | ||
RUN git clone https://github.com/serpent-os/moss-service.git | ||
RUN git clone https://github.com/serpent-os/summit.git | ||
RUN --mount=type=cache,target=/root/.dub <<"EOT" /bin/bash | ||
source ~/dlang/ldc-1.32.2/activate | ||
cd summit | ||
dub build --parallel | ||
EOT | ||
|
||
EXPOSE 8001 | ||
WORKDIR /summit | ||
VOLUME /summit/state | ||
CMD ["/summit/summit", "-a", "0.0.0.0", "-p", "5000"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f�S�����bt��8�D�F�+��:4��P�M��������L�Ի[G�GP}�0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
�P�M��������L�Ի[G�GP}�0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
f�S�����bt��8�D�F�+��:4� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters