Remove repos from webtest Dockerfiles
This commit is contained in:
committed by
Christian Richter
parent
b7b1a751f4
commit
2a0da18856
@@ -1,10 +1,12 @@
|
|||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
MAINTAINER "dragonchaser <crichter@suse.de>"
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y ruby
|
&& apt-get install -y ruby \
|
||||||
EXPOSE 80
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
RUN mkdir /web
|
&& mkdir /web \
|
||||||
RUN chmod 0777 /web
|
&& chmod 0777 /web
|
||||||
WORKDIR /web
|
|
||||||
COPY ./entrypoint.sh /bin
|
COPY ./entrypoint.sh /bin
|
||||||
COPY ./index.html /web
|
COPY ./index.html /web
|
||||||
|
WORKDIR /web
|
||||||
|
EXPOSE 80
|
||||||
ENTRYPOINT entrypoint.sh
|
ENTRYPOINT entrypoint.sh
|
||||||
|
|||||||
@@ -2,11 +2,12 @@ FROM arm32v7/debian:buster-slim
|
|||||||
COPY qemu-arm-static /usr/bin
|
COPY qemu-arm-static /usr/bin
|
||||||
MAINTAINER "dragonchaser <crichter@suse.de>"
|
MAINTAINER "dragonchaser <crichter@suse.de>"
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y ruby
|
&& apt-get install -y ruby \
|
||||||
EXPOSE 80
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
RUN mkdir /web
|
&& mkdir /web \
|
||||||
RUN chmod 0777 /web
|
&& chmod 0777 /web
|
||||||
WORKDIR /web
|
|
||||||
COPY ./entrypoint.sh /bin
|
COPY ./entrypoint.sh /bin
|
||||||
COPY ./index.html /web
|
COPY ./index.html /web
|
||||||
|
WORKDIR /web
|
||||||
|
EXPOSE 80
|
||||||
ENTRYPOINT entrypoint.sh
|
ENTRYPOINT entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user