-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from phantasma-io/dev
Merge Dev into Master
- Loading branch information
Showing
732 changed files
with
29,140 additions
and
19,765 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto | ||
* text eol=lf |
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
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,10 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build-env | ||
WORKDIR /app/src | ||
COPY ./../ /app/src | ||
RUN dotnet restore Phantasma.Node/src/Phantasma.Node.csproj | ||
RUN dotnet publish Phantasma.Node/src/Phantasma.Node.csproj -c Release -o /app/build/ | ||
|
||
#FROM mcr.microsoft.com/dotnet/aspnet:6.0 as runtime | ||
#WORKDIR /app | ||
#COPY --from=build-env /publish/ /app/build/ | ||
#ENTRYPOINT ["/bin/bash", "-c", "tail -f /dev/null"] |
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,12 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 as runtime | ||
WORKDIR /app | ||
COPY DOCKER/bin /app/bin | ||
COPY DOCKER/wrapper-node.sh /app/wrapper.sh | ||
COPY DOCKER/config /app/config | ||
|
||
RUN chmod +x /app/wrapper.sh | ||
RUN apt-get update && apt-get install -y curl inotify-tools libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev libc6-dev libicu-dev libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev librocksdb-dev libc6-dev libsnappy-dev libicu-dev screen bash vim net-tools ca-certificates openssl libssl-dev nano | ||
|
||
EXPOSE 7077 7078 7079 7080 26056 26156 26256 26356 26057 26157 26257 26357 26058 26158 26258 26358 | ||
#ENTRYPOINT ["/bin/bash", "-c", "tail -f /dev/null"] | ||
#ENTRYPOINT ["dotnet", "phantasma-node.dll"] |
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,14 @@ | ||
#--platform=linux/x86_64 | ||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 as runtime | ||
WORKDIR /app | ||
|
||
# Copy everything | ||
COPY DOCKER/wrapper-testnet-debug.sh /app/wrapper-testnet-debug.sh | ||
COPY DOCKER/bin /app/bin | ||
|
||
RUN apt-get update; apt-get install -y libc6-dev libsnappy-dev libicu-dev screen bash vim net-tools ca-certificates openssl libssl-dev librocksdb-dev nano | ||
|
||
EXPOSE 7078 7079 7080 26156 26256 26356 26157 26257 26357 | ||
|
||
RUN chmod +x /app/wrapper-testnet-debug.sh | ||
ENTRYPOINT ["/app/wrapper-testnet-debug.sh"] |
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,18 @@ | ||
#FROM --platform=linux/amd64 debian:stable-slim | ||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 as runtime | ||
WORKDIR /app | ||
|
||
# Copy everything | ||
COPY DOCKER/wrapper-node.sh /app/wrapper.sh | ||
COPY DOCKER/NodePublish /app/node/data | ||
COPY DOCKER/config /app/config | ||
COPY DOCKER/bin /app/bin | ||
|
||
RUN apt-get update && apt-get install -y curl inotify-tools libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev libc6-dev libicu-dev libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev librocksdb-dev libc6-dev libsnappy-dev libicu-dev screen bash vim net-tools ca-certificates openssl libssl-dev nano | ||
|
||
EXPOSE 7077 7078 7079 7080 26056 26156 26256 26356 26057 26157 26257 26357 | ||
|
||
RUN chmod +x /app/wrapper.sh | ||
ENTRYPOINT ["/bin/bash", "-c", "tail -f /dev/null"] | ||
#ENTRYPOINT ["/bin/bash", "-c", "/app/wrapper.sh"] | ||
|
Oops, something went wrong.