mirror of
https://github.com/ChronosX88/medved.git
synced 2024-12-22 20:41:47 +00:00
27 lines
777 B
Docker
27 lines
777 B
Docker
FROM archlinux/base:latest
|
|
|
|
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen
|
|
|
|
ENV LC_ALL=en_US.UTF-8 \
|
|
LANG=en_US.UTF-8
|
|
|
|
RUN pacman -Syu --noconfirm
|
|
|
|
RUN pacman -S --noconfirm reflector && reflector --verbose -l 200 -p http --sort rate --save /etc/pacman.d/mirrorlist
|
|
|
|
RUN pacman -S --noconfirm --needed wget python python-pip vim proxychains base-devel geoip bind-tools grep
|
|
|
|
RUN cd /tmp && \
|
|
wget https://github.com/kelseyhightower/confd/releases/download/v0.14.0/confd-0.14.0-linux-amd64 -O confd && \
|
|
chmod +x confd
|
|
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
|
|
RUN pip3 install -r /tmp/requirements.txt
|
|
|
|
ADD docker/confd /etc/confd
|
|
|
|
COPY ./GeoIPCity.dat /tmp/
|
|
|
|
RUN mkdir -p /usr/share/GeoIP/ && mv /tmp/GeoIPCity.dat /usr/share/GeoIP/GeoIPCity.dat
|