-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
22 lines (21 loc) · 1.56 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ************************************************************************************************************ #
# #
# ::::::::: :::::::: :::::::: ::: ::: :::::::::: #
# Dockerfile :+: :+: :+: :+: :+: :+: :+: :+: :+: #
# +:+ +:+ +:+ +:+ +:+ +:+ +:+ +:+ #
# By: ES-Yukun <[email protected]> +#+ +:+ +#+ +:+ +#+ +#++:++#++ +#++:++# #
# +#+ +#+ +#+ +#+ +#+ +#+ +#+ +#+ #
# Created: 2023/04/30 01:40:27 by ES-Yukun #+# #+# #+# #+# #+# #+# #+# #+# #+# #
# Updated: 2023/04/30 04:57:22 by ES-Yukun ######### ######## ######## ### ### ##########.io. #
# #
# ************************************************************************************************************ #
FROM archlinux:latest
COPY ./init.sh /tmp/init.sh
RUN chmod +x /tmp/init.sh
RUN echo 'Server = https://mirror.cat.net/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist
RUN pacman --noconfirm -Syyu
RUN pacman --noconfirm -S rpm
RUN pacman --noconfirm -S git
RUN pacman --noconfirm -S openssh
RUN pacman --noconfirm -S jq
CMD bash -c /tmp/init.sh