Skip to content

Commit

Permalink
Dockerstatic: Ensure Hostname Installed On Sles12 (#3481)
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Mar 26, 2024
1 parent 9cc52b8 commit a9a2c40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM registry.suse.com/suse/sles12sp5:latest

RUN zypper ar https://download.opensuse.org/distribution/leap/15.4/repo/oss/ sles15oss
RUN zypper --gpg-auto-import-keys refresh
RUN zypper update -y && zypper install -y wget perl openssh-server unzip zip tar gzip
RUN zypper update -y && zypper install -y wget perl openssh-server unzip zip tar gzip hostname

RUN wget 'https://api.adoptium.net/v3/binary/latest/17/ga/linux/x64/jdk/hotspot/normal/eclipse?project=jdk' -O /tmp/jdk17.tar.gz
RUN mkdir -p /usr/lib/jvm/jdk17 && tar -xpzf /tmp/jdk17.tar.gz -C /usr/lib/jvm/jdk17 --strip-components=1
Expand Down

0 comments on commit a9a2c40

Please sign in to comment.