mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-17 11:47:06 +02:00
23 lines
493 B
Plaintext
23 lines
493 B
Plaintext
# This Dockerfile is for building ARM images on x64 machine like Docker Hub
|
|
|
|
FROM balenalib/raspberry-pi:stretch
|
|
|
|
RUN [ "cross-build-start" ]
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y \
|
|
ca-certificates \
|
|
nginx \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
|
|
&& ln -sf /dev/stderr /var/log/nginx/error.log
|
|
|
|
EXPOSE 8080
|
|
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|
|
|
|
RUN [ "cross-build-end" ]
|