加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 773 Bytes
一键复制 编辑 原始数据 按行查看 历史
NARUSE, Yui 提交于 2020-06-20 14:03 . Use bionic
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
&& apt-get --yes install \
sudo \
curl \
wget \
git \
build-essential \
debhelper \
libssl-dev \
linux-libc-dev \
libpcre2-dev \
pbuilder \
expect \
debconf \
qemu-user-static
COPY ./debian_files /home/ubuntu/debian_files
COPY . /home/ubuntu/ossec-hids
# `docker build` cannot handle `pbuilder create` because it uses `mount` which needs privilege
# RUN /home/ubuntu/ossec-hids/contrib/debian-packages/generate_ossec.sh -d
# RUN /home/ubuntu/ossec-hids/contrib/debian-packages/generate_ossec.sh -u
# RUN /home/ubuntu/ossec-hids/contrib/debian-packages/generate_ossec.sh -b
CMD ["/bin/sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化