Skip to content

Commit

Permalink
Fix exposed ports, env path variables (#1962)
Browse files Browse the repository at this point in the history
  • Loading branch information
sieniven committed May 3, 2023
1 parent 5c24e40 commit 1de7af6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
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 @@ -33,6 +33,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 @@ -49,4 +50,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

0 comments on commit 1de7af6

Please sign in to comment.