This commit is contained in:
marsal wang
2021-12-25 09:58:37 +08:00
parent 5598dd673f
commit e3aff021d1
4 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,14 @@
FROM openjdk:11.0.13-slim-buster
ADD dhsdk /
WORKDIR /dhsdk
RUN echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/dhsdk:/dhsdk/lib'>>/etc/profile \
&& /bin/bash -c 'source /etc/profile'
CMD ["java","--version"]
# 打包之前先解压dhsdk.zip文件
# docker build -f Dockerfile -t marsal1212/dhsdk-java11:latest .
# 是为了gps-pass中的大华sdk单独做的镜像