Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gmicroul authored Oct 21, 2024
1 parent e2d11bb commit d1d96a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# 使用最新的Ubuntu AMD64镜像作为基础镜像
FROM arm64v8/ubuntu:24.04
FROM arm64v8/ubuntu:22.04
ENV DEBIAN_FRONTEND noninteractive
# COPY sources.list /etc/apt/sources.list
# 安装所需的软件
RUN apt-get update -y && apt-get install -y wget vim locales lsb-release \
# wget https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_latest+ubuntu24.04_all.deb
# dpkg -i zabbix-release_latest+ubuntu24.04_all.deb
# wget https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_latest+ubuntu22.04_all.deb
# dpkg -i zabbix-release_latest+ubuntu22.04_all.deb
# apt update
# apt install zabbix-agent2 zabbix-agent2-plugin-*
&& wget https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_latest+ubuntu24.04_all.deb \
&& dpkg -i zabbix-release_latest+ubuntu24.04_all.deb \
&& wget https://repo.zabbix.com/zabbix/7.0/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_latest+ubuntu22.04_all.deb \
&& dpkg -i zabbix-release_latest+ubuntu22.04_all.deb \
&& apt-get update -y \
&& apt-get install -y unzip mysql-server php php-mysql apache2 zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent2 zabbix-agent2-plugin-* \
&& usermod -d /var/lib/mysql/ mysql \
Expand Down

0 comments on commit d1d96a8

Please sign in to comment.