File tree 1 file changed +55
-0
lines changed
1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Pull base image.
2
+ FROM ubuntu:24.04
3
+
4
+ # Make sure APT operations are non-interactive
5
+ ENV DEBIAN_FRONTEND noninteractive
6
+
7
+ # Add basic tools
8
+ RUN apt-get update
9
+ RUN apt-get --yes install wget gnupg locales unzip libfile-fcntllock-perl
10
+
11
+ # Set locale
12
+ RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
13
+ RUN locale-gen
14
+ ENV LANG en_US.UTF-8
15
+ ENV LANGUAGE en_US:en
16
+ ENV LC_ALL en_US.UTF-8
17
+
18
+ # Add GHR
19
+ RUN \
20
+ wget https://github.com/tcnksm/ghr/releases/download/v0.5.4/ghr_v0.5.4_linux_amd64.zip \
21
+ && unzip ghr_v0.5.4_linux_amd64.zip \
22
+ && mv ghr /usr/bin/ghr \
23
+ && rm ghr_v0.5.4_linux_amd64.zip
24
+
25
+ # Add files.
26
+ ADD mint22.1 /
27
+
28
+ # ##################################
29
+ # Set up repositories
30
+ # ##################################
31
+
32
+ # Add linuxmint-keyring
33
+ RUN \
34
+ wget http://packages.linuxmint.com/pool/main/l/linuxmint-keyring/linuxmint-keyring_2022.06.21_all.deb > dev/null 2>&1 \
35
+ && dpkg -i linuxmint-keyring_2022.06.21_all.deb \
36
+ && rm linuxmint-keyring_2022.06.21_all.deb
37
+
38
+ # Empty default sources.list
39
+ RUN echo "" > /etc/apt/sources.list
40
+ RUN rm -rf /etc/apt/sources.list.d/ubuntu.sources
41
+
42
+ # Update APT cache.
43
+ RUN apt-get update
44
+
45
+ # ##################################
46
+ # Apply updates
47
+ # ##################################
48
+
49
+ RUN apt-get dist-upgrade --yes
50
+
51
+ # ##################################
52
+ # Install stuff
53
+ # ##################################
54
+
55
+ RUN apt-get --yes install mint-dev-tools build-essential devscripts fakeroot quilt dh-make automake libdistro-info-perl less nano ubuntu-dev-tools python3 python3-pip python3-venv
You can’t perform that action at this time.
0 commit comments