首页 > 其他分享 >Dockfile 参考

Dockfile 参考

时间:2022-12-17 17:00:17浏览次数:46  
标签:bin 1024 参考 etc Dockfile usr local edgeuser

FROM ubuntu:16.04
WORKDIR /usr/local/bin
COPY ./res /usr/local/res
COPY ./bin /usr/local/bin
COPY ./baumer/Ubuntu-16.04/arm64 /usr/local/bin/cti
ENV http_proxy "http://10.44.115.116:3128"
ENV https_proxy "http://10.44.115.116:3128"
ENV GENICAM_GENTL64_PATH /usr/local/bin/cti
RUN apt update && apt install -y libpng16-dev libjpeg9-dev
RUN sed -i '1a /usr/local/bin/genicam/Linux64_ARM' /etc/ld.so.conf && ldconfig
RUN echo "edgeuser:x:1024:1024::/home/edgeuser:" >> /etc/passwd ; \
echo "edgeuser:x:1024:" >> /etc/group ; \
echo "edgeuser:!:19104:0:99999:7:::" >> /etc/shadow ; \
chown -R 1024:1024 /usr/local/bin; \
chown -R 1024:1024 /usr/local/res;
ENTRYPOINT ["./hello"]

标签:bin,1024,参考,etc,Dockfile,usr,local,edgeuser
From: https://www.cnblogs.com/gongxianjin/p/16989154.html

相关文章