Skip to content

Commit

Permalink
Docker versions would mismatch between local and remote versions
Browse files Browse the repository at this point in the history
  • Loading branch information
demyxco committed Mar 7, 2024
1 parent 87398c4 commit 7b18cb7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
@@ -1,5 +1,4 @@
FROM msoap/shell2http as demyx_api
FROM docker as demyx_docker
FROM alpine:3.17

LABEL sh.demyx.image demyx/demyx
Expand Down Expand Up @@ -70,6 +69,7 @@ RUN set -ex; \
apache2-utils \
bash \
bind-tools \
docker \
docker-compose \
curl \
jq \
Expand All @@ -84,7 +84,6 @@ RUN set -ex; \
# Copy files and binaries
COPY . /etc/demyx
COPY --from=demyx_api /app/shell2http /usr/local/bin/shell2http
COPY --from=demyx_docker /usr/local/bin/docker /usr/local/bin/docker

# Configure Demyx
RUN set -ex; \
Expand Down Expand Up @@ -156,7 +155,7 @@ RUN set -ex; \
chmod o-x /bin/echo; \
chmod o-x /usr/bin/curl; \
chmod o-x /usr/bin/nano; \
chmod o-x /usr/local/bin/docker; \
chmod o-x /usr/bin/docker; \
chmod o-x /usr/bin/docker-compose; \
\
# Copy custom directory
Expand Down

0 comments on commit 7b18cb7

Please sign in to comment.