-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update ubuntu to 22.04 and openjdk 11 (#1)
- Loading branch information
1 parent
51c9c08
commit 1d0018b
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
FROM phusion/baseimage:0.9.18 | ||
FROM phusion/baseimage:jammy-1.0.1 | ||
|
||
MAINTAINER livehouse-automaton | ||
LABEL org.opencontainers.image.authors="livehouse-automation" | ||
|
||
VOLUME ["/config"] | ||
|
||
RUN export DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_FRONTEND=noninteractive && \ | ||
add-apt-repository -y ppa:webupd8team/java && \ | ||
apt-get update && \ | ||
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections && \ | ||
apt-get install -y \ | ||
wget \ | ||
oracle-java8-installer \ | ||
oracle-java8-set-default && \ | ||
openjdk-11-jre && \ | ||
usermod -u 99 nobody && \ | ||
usermod -g 100 nobody && \ | ||
mkdir -p /etc/my_init.d | ||
|
||
COPY firstrun.sh /etc/my_init.d/firstrun.sh | ||
|
||
RUN chmod +x /etc/my_init.d/firstrun.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters