-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.linux
33 lines (27 loc) · 928 Bytes
/
Dockerfile.linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# nodelink v10 supports amd64, arm64 and arm32v7 using buildx to compile multiple archs (dependant on archs available for source container)
FROM mcr.microsoft.com/dotnet/runtime:5.0
ARG TARGETPLATFORM
ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ARG BUILDDATE
LABEL Platform=$TARGETPLATFORM \
OS=$TARGETOS \
Architectur=$TARGETARCH \
Variant=$TARGETVARIANT \
BuildDate=$BUILDDATE \
org.label-schema.description="NodeLink v11 for ISY994i"
EXPOSE 8090
VOLUME NodeLink
COPY startnodelink.sh /startnodelink.sh
RUN apt-get update && apt-get install -y \
wget \
&& apt-get clean \
&& chmod +x startnodelink.sh
# Define environment variable
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LANG C.UTF-8
ENV TZ America/Los_Angeles
# Run when the container launches
# ENTRYPOINT ["./startnodelink.sh"]
CMD ["/bin/bash", "/startnodelink.sh"]