File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ ARG opensource_COBOL_4J_version=dummy_value Open_COBOL_ESQL_4J_version=dummy_val
66SHELL ["/bin/bash" , "-c" ]
77
88# install build dependencies
9- RUN microdnf update -y && \
10- microdnf install -y gcc make bison flex automake autoconf diffutils gettext java-11-openjdk-devel tar gzip && \
11- microdnf clean all
9+ RUN dnf update -y && \
10+ dnf install -y gcc make bison flex automake autoconf diffutils gettext java-11-openjdk-devel tar gzip && \
11+ dnf clean all
1212
1313# install sbt
1414RUN curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && \
@@ -50,10 +50,10 @@ ARG opensource_COBOL_4J_version=dummy_value Open_COBOL_ESQL_4J_version=dummy_val
5050SHELL ["/bin/bash" , "-c" ]
5151
5252# install runtime dependencies only
53- RUN microdnf update -y && \
54- microdnf install -y java-11-openjdk-devel && \
55- microdnf clean all && \
56- rm -rf /var/cache/microdnf /*
53+ RUN dnf update -y && \
54+ dnf install -y java-11-openjdk-devel && \
55+ dnf clean all && \
56+ rm -rf /var/cache/dnf /*
5757
5858# create required directories
5959RUN mkdir -p /usr/lib/opensourcecobol4j \
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ ARG opensource_COBOL_4J_version=dummy_value
66SHELL ["/bin/bash" , "-c" ]
77
88# install build dependencies
9- RUN microdnf update -y && \
10- microdnf install -y gcc make bison flex automake autoconf diffutils gettext java-11-openjdk-devel tar gzip && \
11- microdnf clean all
9+ RUN dnf update -y && \
10+ dnf install -y gcc make bison flex automake autoconf diffutils gettext java-11-openjdk-devel tar gzip && \
11+ dnf clean all
1212
1313# install sbt
1414RUN curl -fL https://github.com/coursier/coursier/releases/latest/download/cs-x86_64-pc-linux.gz | gzip -d > cs && \
@@ -34,10 +34,10 @@ ARG opensource_COBOL_4J_version=dummy_value
3434SHELL ["/bin/bash" , "-c" ]
3535
3636# install runtime dependencies only
37- RUN microdnf update -y && \
38- microdnf install -y java-11-openjdk-devel && \
39- microdnf clean all && \
40- rm -rf /var/cache/microdnf /*
37+ RUN dnf update -y && \
38+ dnf install -y java-11-openjdk-devel && \
39+ dnf clean all && \
40+ rm -rf /var/cache/dnf /*
4141
4242# copy built files from builder stage
4343COPY --from=builder /usr/lib/opensourcecobol4j/ /usr/lib/opensourcecobol4j/
You can’t perform that action at this time.
0 commit comments