mirror of
https://github.com/icodex/docker-goedge.git
synced 2026-03-13 21:41:37 -05:00
update
This commit is contained in:
18
docker/Dockerfile
Normal file
18
docker/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM alpine:latest
|
||||
LABEL maintainer="icodex@msn.com"
|
||||
ENV TZ="Asia/Shanghai"
|
||||
ENV ROOT_DIR=/usr/local/goedge
|
||||
|
||||
ARG RUN_TYPE
|
||||
ENV RUN_TYPE=${RUN_TYPE}
|
||||
|
||||
ARG VERSION
|
||||
ENV VERSION=${VERSION}
|
||||
|
||||
COPY build /build/
|
||||
|
||||
RUN /build/base.sh \
|
||||
&& /build/install.sh ${RUN_TYPE}
|
||||
|
||||
WORKDIR /usr/local/goedge
|
||||
ENTRYPOINT [ "/usr/local/goedge/run.sh" ]
|
||||
Reference in New Issue
Block a user