Skip to content

Commit

Permalink
Remove architecture checker from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hamedsalim1999 committed Dec 18, 2023
1 parent b022e57 commit 9c886c1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ ARG TARGETOS
ARG TARGETARCH
ARG TARGETPLATFORM

# IF YOU SEE THIS MESSAGE, IT MEANS THAT THE PLATFORM YOU CHOSE IS NOT SUPPORTED
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \
echo "Target platform ${TARGETPLATFORM} is supported"; \
else \
echo "Target platform ${TARGETPLATFORM} is not supported"; \
exit 1; \
fi

WORKDIR /gatewayd
COPY . /gatewayd

Expand Down

0 comments on commit 9c886c1

Please sign in to comment.