1
0
mirror of https://github.com/1C-Company/docker_fresh.git synced 2024-12-12 10:45:25 +02:00

Исправление сборки образа appgate #30 (#31)

Исправление сборки образа appgate #30 (#31)
This commit is contained in:
Ilya 2022-10-14 12:43:58 +03:00 committed by GitHub
parent 075294f7fd
commit af050ddb71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,13 @@
FROM java:8-jre
FROM openjdk:8-jre-buster
COPY ./distr/appgate.deb /
RUN dpkg -i /appgate.deb; \
rm /appgate.deb; \
echo export PATH=$PATH:/usr/local/openjdk-8/bin > /etc/profile.d/add_java.sh ;\
chmod +x /etc/profile.d/add_java.sh ;\
echo export PATH=$PATH:JAVA_HOME=/usr/local/openjdk-8 > /etc/profile.d/add_java_home.sh ;\
chmod +x /etc/profile.d/add_java_home.sh ;\
/opt/1C/1cfresh/appgate/setAuth.sh appgate 12345Qwer
EXPOSE 8080 9090