across/docker/brook/Dockerfile.architecture

22 lines
504 B
Docker
Raw Permalink Normal View History

# Dockerfile for Brook based alpine
2024-12-29 23:22:33 +09:00
# Copyright (C) 2019 - 2024 Teddysun <i@teddysun.com>
# Reference URL:
# https://github.com/txthinking/brook
2024-12-29 23:22:33 +09:00
FROM alpine:latest
LABEL maintainer="Teddysun <i@teddysun.com>"
2020-02-19 21:39:43 +09:00
ARG TARGETPLATFORM
WORKDIR /root
COPY brook.sh /root/brook.sh
RUN set -ex \
&& apk add --no-cache tzdata \
&& chmod +x /root/brook.sh \
&& /root/brook.sh "${TARGETPLATFORM}" \
&& rm -fv /root/brook.sh
2020-02-19 21:39:43 +09:00
ENV TZ=Asia/Shanghai
ENV ARGS="server -l :9000 -p password0"
2020-07-06 11:03:06 +09:00
CMD /usr/bin/brook $ARGS