Skip to content

Commit

Permalink
#87 force packages install / uninstall (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
mageddo authored Dec 4, 2018
1 parent d3932d9 commit 5bdbc91
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.arm7x86.hub
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM arm32v7/debian:7
WORKDIR /app
ENV TMP_NAME=/tmp/dns-proxy-server.tgz
RUN apt-get update && apt-get install -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.2/dns-proxy-server-linux-arm-2.10.2.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge -y curl
RUN apt-get update && apt-get install --force-yes -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.1/dns-proxy-server-linux-arm-2.10.1.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge --force-yes -y curl

VOLUME ["/var/run/docker.sock", "/var/run/docker.sock"]
CMD ["bash", "-c", "/app/dns-proxy-server"]
6 changes: 3 additions & 3 deletions Dockerfile.arm8x64.hub
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM arm64v8/debian:9
WORKDIR /app
ENV TMP_NAME=/tmp/dns-proxy-server.tgz
RUN apt-get update && apt-get install -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.2/dns-proxy-server-linux-arm64-2.10.2.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge -y curl
RUN apt-get update && apt-get install --force-yes -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.1/dns-proxy-server-linux-arm64-2.10.1.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge --force-yes -y curl

VOLUME ["/var/run/docker.sock", "/var/run/docker.sock"]
CMD ["bash", "-c", "/app/dns-proxy-server"]
6 changes: 3 additions & 3 deletions Dockerfile.arm8x86.hub
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM arm32v7/debian:7
WORKDIR /app
ENV TMP_NAME=/tmp/dns-proxy-server.tgz
RUN apt-get update && apt-get install -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.2/dns-proxy-server-linux-arm-2.10.2.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge -y curl
RUN apt-get update && apt-get install --force-yes -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.1/dns-proxy-server-linux-arm-2.10.1.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt-get purge --force-yes -y curl

VOLUME ["/var/run/docker.sock", "/var/run/docker.sock"]
CMD ["bash", "-c", "/app/dns-proxy-server"]
6 changes: 3 additions & 3 deletions Dockerfile.hub
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:8
WORKDIR /app
ENV TMP_NAME=/tmp/dns-proxy-server.tgz
RUN apt-get update && apt-get install -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.2/dns-proxy-server-linux-amd64-2.10.2.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge -y curl
RUN apt-get update && apt-get install --force-yes -y curl
RUN curl -L https://github.com/mageddo/dns-proxy-server/releases/download/2.10.1/dns-proxy-server-linux-amd64-2.10.1.tgz > $TMP_NAME && \
tar -xvf $TMP_NAME -C /app/ && rm -f $TMP_NAME && apt purge-get --force-yes -y curl

VOLUME ["/var/run/docker.sock", "/var/run/docker.sock"]
CMD ["bash", "-c", "/app/dns-proxy-server"]

0 comments on commit 5bdbc91

Please sign in to comment.