File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Build from root of repo with `docker build -t onvif-build -f ./build/Dockerfile.onvif-camera .`
2
2
FROM ubuntu:22.04 as build
3
3
WORKDIR /
4
- ENV DEBIAN_FRONTEND=noninteractive
4
+ ARG DEBIAN_FRONTEND=noninteractive
5
5
RUN apt-get update && apt-get upgrade -y
6
6
RUN apt-get install \
7
7
flex bison byacc make m4 autoconf unzip \
@@ -19,7 +19,7 @@ RUN cd /onvif-camera-mock && \
19
19
20
20
# Deployment container
21
21
FROM ubuntu:22.04
22
- ENV DEBIAN_FRONTEND=noninteractive
22
+ ARG DEBIAN_FRONTEND=noninteractive
23
23
RUN apt-get update && \
24
24
apt-get install sudo iproute2 \
25
25
python3-gi \
@@ -31,4 +31,4 @@ RUN chmod +x /onvif-camera-mock/main.py
31
31
EXPOSE 8554
32
32
EXPOSE 1000
33
33
CMD ["/onvif-camera-mock/main.py", "eth0", "/onvif-camera-mock"]
34
- ENTRYPOINT ["python3"]
34
+ ENTRYPOINT ["python3"]
You can’t perform that action at this time.
0 commit comments