-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6071 from mysteriumnetwork/add-ubuntu-noble
Add support for Ubuntu 24.04 LTS Noble Numbat
- Loading branch information
Showing
5 changed files
with
41 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM ubuntu:24.04 | ||
|
||
ENV container docker | ||
ENV LC_ALL C | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt update \ | ||
&& apt install -y systemd \ | ||
&& apt-get clean | ||
|
||
RUN cd /lib/systemd/system/sysinit.target.wants/ \ | ||
&& ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 | ||
|
||
RUN rm -f /lib/systemd/system/multi-user.target.wants/* \ | ||
/etc/systemd/system/*.wants/* \ | ||
/lib/systemd/system/local-fs.target.wants/* \ | ||
/lib/systemd/system/sockets.target.wants/*udev* \ | ||
/lib/systemd/system/sockets.target.wants/*initctl* \ | ||
/lib/systemd/system/basic.target.wants/* \ | ||
/lib/systemd/system/anaconda.target.wants/* \ | ||
/lib/systemd/system/plymouth* \ | ||
/lib/systemd/system/systemd-update-utmp* | ||
|
||
# https://github.com/moby/moby/issues/1297 | ||
RUN echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections | ||
|
||
RUN apt update \ | ||
&& apt install -y \ | ||
sudo \ | ||
curl | ||
|
||
VOLUME ["/sys/fs/cgroup"] | ||
|
||
CMD ["/lib/systemd/systemd"] |
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
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
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