We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d245639 commit 5e6ff0cCopy full SHA for 5e6ff0c
spring-boot-3.2-docker-image-with-crac/Dockerfile
@@ -6,6 +6,7 @@ FROM base as build
6
RUN apt-get update \
7
&& DEBIAN_FRONTEND=noninteractive \
8
apt-get install -y maven \
9
+ apt-get install sudo \
10
&& apt-get clean \
11
&& rm -rf /var/lib/apt/lists/*
12
WORKDIR /src
@@ -25,7 +26,6 @@ WORKDIR /function
25
26
COPY --from=build /src/target/dependency/*.jar ./
27
COPY --from=build /src/target/*.jar ./
28
-RUN apt-get install sudo
29
RUN sudo chown root:root $JAVA_HOME/lib/criu
30
RUN sudo chmod u+s $JAVA_HOME/lib/criu
31
0 commit comments