forked from irods/irods_client_nfsrods
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 705 Bytes
/
Dockerfile
File metadata and controls
24 lines (17 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:22.04
ARG sssd=false
# The following environment variables are required to avoid errors
# during the installation of openjdk-17-jdk.
ENV JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
ENV PATH="$JAVA_HOME/bin:$PATH"
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update && apt-get upgrade -y && \
apt-get install -y apt-transport-https && \
apt-get install -y openjdk-17-jdk libnss-sss
# Provide default log4j configuration.
# This keeps log4j quiet when instructing the container to print the SHA.
ADD config/log4j.properties /nfsrods_config/log4j.properties
ADD nfsrods.jar start.sh /
RUN chmod u+x start.sh
ENV NFSRODS_CONFIG_HOME=/nfsrods_config
ENTRYPOINT ["./start.sh"]