File tree 4 files changed +76
-0
lines changed
4 files changed +76
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Pull base image.
2
+ FROM ubuntu:22.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 mint21.2 /
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_2016.05.26_all.deb > dev/null 2>&1 \
35
+ && dpkg -i linuxmint-keyring_2016.05.26_all.deb \
36
+ && rm linuxmint-keyring_2016.05.26_all.deb
37
+
38
+ # Empty default sources.list
39
+ RUN echo "" > /etc/apt/sources.list
40
+
41
+ # Update APT cache.
42
+ RUN apt-get update
43
+
44
+ # ##################################
45
+ # Apply updates
46
+ # ##################################
47
+
48
+ RUN apt-get dist-upgrade --yes
49
+
50
+ # ##################################
51
+ # Install stuff
52
+ # ##################################
53
+
54
+ 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
Original file line number Diff line number Diff line change
1
+ Package: *
2
+ Pin: origin live.linuxmint.com
3
+ Pin-Priority: 750
4
+
5
+ Package: *
6
+ Pin: release o=linuxmint,c=upstream
7
+ Pin-Priority: 700
8
+
Original file line number Diff line number Diff line change
1
+ deb http://packages.linuxmint.com victoria main upstream import backport
2
+
3
+ deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
4
+ deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
5
+ deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
6
+
7
+ deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Original file line number Diff line number Diff line change
1
+ deb-src http://packages.linuxmint.com victoria main upstream import backport
2
+
3
+ deb-src http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
4
+ deb-src http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
5
+ deb-src http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
6
+
7
+ deb-src http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
You can’t perform that action at this time.
0 commit comments