Skip to content

Commit 28267a1

Browse files
committed
feat: ajust dockerfile
1 parent 9105e7d commit 28267a1

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

base-container/Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
FROM archlinux:latest
22

33
LABEL maintainer="Killian Prin-abeil <killian@archimedeos.org>"
4-
LABEL description="ArchimedeOS Base Container optimisée avec miroirs dynamiques"
5-
6-
RUN pacman -Syu --noconfirm reflector
7-
8-
RUN reflector --country France,Germany,Netherlands --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
94

5+
RUN echo 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist && \
6+
echo 'Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist && \
7+
echo 'Server = https://mirror.umd.edu/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
108

119
RUN pacman -Syu --noconfirm && \
1210
pacman -S --noconfirm \
@@ -35,7 +33,7 @@ USER archimede
3533
WORKDIR /home/archimede
3634

3735
RUN echo 'echo "=== ArchimedeOS Base Container ==="' >> ~/.bashrc && \
38-
echo 'echo "Container prêt pour le développement !"' >> ~/.bashrc
36+
echo 'echo "Container prêt pour le développement!"' >> ~/.bashrc
3937

4038
EXPOSE 22
4139

0 commit comments

Comments
 (0)