-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile.old
41 lines (27 loc) · 1.14 KB
/
Dockerfile.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM ubuntu:latest
LABEL maintainer "https://github.com/blacktop"
LABEL malice.plugin.repository = "https://github.com/malice-plugins/avira.git"
LABEL malice.plugin.category="av"
LABEL malice.plugin.mime="*"
LABEL malice.plugin.docker.engine="*"
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get install -y libc6-i386 file
# Add Files
COPY /run.sh /run.sh
RUN chmod 755 /run.sh
COPY /unattended.inf /unattended.inf
RUN mkdir /home/quarantine/
# Download Avira
ADD http://premium.avira-update.com/package/wks_avira/unix/en/pers/antivir_workstation-pers.tar.gz /tmp
COPY avira.key /tmp/antivir-workstation-pers-3.1.3.5-0/hbedv.key
# Install Avira
RUN /tmp/antivir-workstation-pers-3.1.3.5-0/install --inf=/unattended.inf
# Update Avira (THIS IS WHAT KILLS IT) ####################
# RUN /usr/lib/AntiVir/guard/avupdate-guard --product=Guard
COPY avira.key /usr/lib/AntiVir/guard/avira.key
# ADD http://personal.avira-update.com/package/peclkey/win32/int/hbedv.key /usr/lib/AntiVir/guard/avira.key
# Add EICAR Test Virus File to malware folder
ADD http://www.eicar.org/download/eicar.com.txt /malware/EICAR
WORKDIR /malware
CMD ["/run.sh"]