Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exposed ports, env path variables #1962

Merged
merged 1 commit into from
May 3, 2023
Merged
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
3 changes: 2 additions & 1 deletion contrib/dockerfiles/aarch64-linux-gnu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN mkdir /app && cd build/${TARGET} && \
### Actual image that contains defi binaries
FROM --platform=linux/arm64 ubuntu:latest
ARG TARGET
ENV PATH=/app/bin:$PATH
LABEL org.defichain.name="defichain"
LABEL org.defichain.arch=${TARGET}

Expand All @@ -41,4 +42,4 @@ VOLUME ["/data"]
USER defi:defi
CMD [ "/app/bin/defid" ]

EXPOSE 8555 8554 18555 18554 19555 19554 20555 20554
EXPOSE 8554 8550 8551 18554 18550 18551 19554 19550 19551 20554 20550 20551
3 changes: 2 additions & 1 deletion contrib/dockerfiles/arm-linux-gnueabihf.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN mkdir /app && cd build/${TARGET} && \
### Actual image that contains defi binaries
FROM --platform=linux/arm/v7 ubuntu:latest
ARG TARGET
ENV PATH=/app/bin:$PATH
LABEL org.defichain.name="defichain"
LABEL org.defichain.arch=${TARGET}

Expand All @@ -41,4 +42,4 @@ VOLUME ["/data"]
USER defi:defi
CMD [ "/app/bin/defid" ]

EXPOSE 8555 8554 18555 18554 19555 19554 20555 20554
EXPOSE 8554 8550 8551 18554 18550 18551 19554 19550 19551 20554 20550 20551
3 changes: 2 additions & 1 deletion contrib/dockerfiles/x86_64-pc-linux-gnu-clang.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN mkdir /app && cd build/${TARGET} && \
### Actual image that contains defi binaries
FROM --platform=linux/amd64 debian:10
ARG TARGET
ENV PATH=/app/bin:$PATH
LABEL org.defichain.name="defichain"
LABEL org.defichain.arch=${TARGET}

Expand All @@ -45,4 +46,4 @@ VOLUME ["/data"]
USER defi:defi
CMD [ "/app/bin/defid" ]

EXPOSE 8555 8554 18555 18554 19555 19554 20555 20554
EXPOSE 8554 8550 8551 18554 18550 18551 19554 19550 19551 20554 20550 20551
3 changes: 2 additions & 1 deletion contrib/dockerfiles/x86_64-pc-linux-gnu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN mkdir /app && cd build/${TARGET} && \
### Actual image that contains defi binaries
FROM --platform=linux/amd64 ubuntu:latest
ARG TARGET
ENV PATH=/app/bin:$PATH
LABEL org.defichain.name="defichain"
LABEL org.defichain.arch=${TARGET}

Expand All @@ -41,4 +42,4 @@ VOLUME ["/data"]
USER defi:defi
CMD [ "/app/bin/defid" ]

EXPOSE 8555 8554 18555 18554 19555 19554 20555 20554
EXPOSE 8554 8550 8551 18554 18550 18551 19554 19550 19551 20554 20550 20551