Spaces:
Building
Building
Update Dockerfile
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
@@ -9,6 +9,7 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
|
|
9 |
apt-get update && apt-get install -y --no-install-recommends \
|
10 |
curl \
|
11 |
ca-certificates \
|
|
|
12 |
sudo \
|
13 |
git \
|
14 |
git-lfs \
|
@@ -29,13 +30,14 @@ RUN add-apt-repository ppa:flexiondotorg/nvtop && \
|
|
29 |
apt-get upgrade -y && \
|
30 |
apt-get install -y --no-install-recommends nvtop
|
31 |
|
32 |
-
# Importer la cl茅 GPG pour le d茅p么t Mozilla Firefox
|
33 |
RUN install -d -m 0755 /etc/apt/keyrings && \
|
34 |
-
wget -
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
38 |
apt-get install -y firefox
|
|
|
39 |
|
40 |
RUN yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
41 |
|
|
|
9 |
apt-get update && apt-get install -y --no-install-recommends \
|
10 |
curl \
|
11 |
ca-certificates \
|
12 |
+
wget \
|
13 |
sudo \
|
14 |
git \
|
15 |
git-lfs \
|
|
|
30 |
apt-get upgrade -y && \
|
31 |
apt-get install -y --no-install-recommends nvtop
|
32 |
|
|
|
33 |
RUN install -d -m 0755 /etc/apt/keyrings && \
|
34 |
+
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null && \
|
35 |
+
gpg -n -q --import --import-options import-show /etc/apt/keyrings/packages.mozilla.org.asc | awk '/pub/{getline; gsub(/^ +| +$/,""); if($0 == "35BAA0B33E9EB396F59CA838C0BA5CE6DC6315A3") print "\nThe key fingerprint matches ("$0").\n"; else print "\nVerification failed: the fingerprint ("$0") does not match the expected one.\n"}' && \
|
36 |
+
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null && \
|
37 |
+
echo 'Package: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\n' | tee /etc/apt/preferences.d/mozilla && \
|
38 |
+
apt-get update && \
|
39 |
apt-get install -y firefox
|
40 |
+
|
41 |
|
42 |
RUN yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
43 |
|