-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
12 lines (11 loc) · 1.24 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
FROM docker.io/openbis/debian-openbis:20.10.7.4
WORKDIR /home/openbis/openbis/servers
#setup behind proxy
RUN cp ./openBIS-server/jetty-dist/demo-base/start.d/http.ini ./openBIS-server/jetty/start.d/
COPY ./datastore_service/service.properties ./datastore_server/etc/service.properties
COPY ./openbis-server/service.properties ./openBIS-server/jetty/etc/service.properties
RUN echo 'enabled-modules = dropbox-monitor, dataset-uploader, dataset-file-search, xls-import, openbis-sync, eln-lims, openbis-ng-ui, search-store, openbismantic' > ./core-plugins/core-plugins.properties
#add code to set admin password
RUN sed -i '2s/^/#set observer password\necho "setting observer password"\n\/home\/openbis\/openbis\/servers\/openBIS-server\/jetty\/bin\/passwd.sh add -p ${OBSERVER_PASS} observer\n /' /usr/local/bin/docker-entrypoint.sh
RUN sed -i '2s/^/#set admin password\necho "setting admin password"\n\/home\/openbis\/openbis\/servers\/openBIS-server\/jetty\/bin\/passwd.sh change -p ${ADMIN_PASS} admin\n /' /usr/local/bin/docker-entrypoint.sh
RUN sed -i '2s/^/#set etlserver password\necho "setting etlserver password"\n\/home\/openbis\/openbis\/servers\/openBIS-server\/jetty\/bin\/passwd.sh change -p b9QE4aL5V1 etlserver\n /' /usr/local/bin/docker-entrypoint.sh