Skip to content

Commit 801bdcb

Browse files
aureliogrbDjelibeybi
authored andcommitted
cleaned trailing whitespaces
Signed-off-by: Aurelio Garcia-Ribeyro <[email protected]>
1 parent d966621 commit 801bdcb

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

OracleJava/8/serverjre/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2019, 2024 Oracle and/or its affiliates.
1+
# Copyright (c) 2019, 2024 Oracle and/or its affiliates.
22
#
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
44
#
@@ -35,7 +35,7 @@ ENV LANG en_US.UTF-8
3535

3636
# Environment variables for the builder image.
3737
# Required to validate that you are using the correct file
38-
38+
3939
ENV JAVA_HOME=/usr/java/jdk-8
4040

4141
COPY server-jre-8u*-linux-x64.tar.gz /tmp/jdk.tgz
@@ -71,6 +71,6 @@ RUN yum -y update; \
7171
alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; \
7272
done; \
7373
# -Xshare:dump will create a CDS archive to improve startup in subsequent runs
74-
# the file will be stored as /usr/java/jdk-8/jre/lib/amd64/server/classes.jsa
74+
# the file will be stored as /usr/java/jdk-8/jre/lib/amd64/server/classes.jsa
7575
# See https://docs.oracle.com/javase/8/docs/technotes/guides/vm/class-data-sharing.html
7676
java -Xshare:dump;

OracleOpenJDK/23/Dockerfile

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@
2121
# $ bash build.sh
2222
#
2323

24-
FROM oraclelinux:9
24+
FROM oraclelinux:9
2525

2626
LABEL maintainer="Aurelio Garcia-Ribeyro <[email protected]>"
2727

2828
ENV JAVA_URL=https://download.java.net/java/GA/jdk23.0.1/c28985cbf10d4e648e4004050f8781aa/11/GPL \
2929
JAVA_HOME=/usr/java/jdk-23 \
3030
LANG=en_US.UTF-8
3131

32-
# If you need the Java Version you can read it from the release file with
32+
# If you need the Java Version you can read it from the release file with
3333
#JAVA_VERSION=$(sed -n '/^JAVA_VERSION="/{s///;s/"//;p;}' "$JAVA_HOME"/release);
34-
34+
3535
ENV PATH $JAVA_HOME/bin:$PATH
36-
36+
3737
# Since the files are compressed as tar.gz first dnf install tar. gzip is already in oraclelinux:9
3838
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
3939
RUN set -eux; \
4040
dnf -y update; \
4141
dnf install -y \
4242
tar \
43-
# JDK assumes freetype is available
43+
# JDK assumes freetype is available
4444
freetype fontconfig \
4545
; \
4646
rm -rf /var/cache/dnf; \
@@ -50,7 +50,7 @@ RUN set -eux; \
5050
then ARCH="x64"; \
5151
fi && \
5252
JAVA_PKG="$JAVA_URL"/openjdk-23.0.1_linux-"${ARCH}"_bin.tar.gz ; \
53-
JAVA_SHA256="$(curl "$JAVA_PKG".sha256)" ; \
53+
JAVA_SHA256="$(curl "$JAVA_PKG".sha256)" ; \
5454
curl --output /tmp/jdk.tgz "$JAVA_PKG" && \
5555
echo "$JAVA_SHA256" */tmp/jdk.tgz | sha256sum -c -; \
5656
mkdir -p "$JAVA_HOME"; \
@@ -63,6 +63,6 @@ RUN ln -sfT "$JAVA_HOME" /usr/java/default; \
6363
base="$(basename "$bin")"; \
6464
[ ! -e "/usr/bin/$base" ]; \
6565
alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; \
66-
done;
66+
done;
6767

6868
CMD ["jshell"]

OracleOpenJDK/23/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# Copyright (c) 2023 Oracle and/or its affiliates.
3+
# Copyright (c) 2023 Oracle and/or its affiliates.
44
#
55
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
66

0 commit comments

Comments
 (0)