We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eec5de commit 0bdfbf1Copy full SHA for 0bdfbf1
build/content-service/Dockerfile
@@ -1,9 +1,12 @@
1
FROM --platform=linux/x86_64 eclipse-temurin:11.0.20.1_1-jdk-focal
2
RUN apt-get update \
3
+ && apt-get upgrade -y \
4
&& apt-get install -y unzip curl \
5
&& adduser --uid 1001 --home /home/sunbird/ --disabled-login sunbird \
6
&& mkdir -p /home/sunbird \
- && chown -R sunbird:sunbird /home/sunbird
7
+ && chown -R sunbird:sunbird /home/sunbird \
8
+ && apt-get clean \
9
+ && rm -rf /var/lib/apt/lists/*
10
USER sunbird
11
COPY ./content-api/content-service/target/content-service-1.0-SNAPSHOT-dist.zip /home/sunbird/
12
RUN unzip /home/sunbird/content-service-1.0-SNAPSHOT-dist.zip -d /home/sunbird/
0 commit comments