docker-snmptrap/Dockerfile
MrMeeb 53674532ba
All checks were successful
Build Image / Validate Image (push) Successful in 12s
Build Image / Publish Image (push) Successful in 35s
Build Image / Notify (push) Successful in 2s
Pin alpine version more specifically (#2)
Reviewed-on: #2
2025-01-15 13:43:45 +00:00

8 lines
195 B
Docker

FROM alpine:3.21.1
RUN apk --no-cache add net-snmp
ADD mibs.tar.gz /mibs/
ADD snmptrapd.conf /etc/snmp/snmptrapd.conf
EXPOSE 162/udp
CMD ["snmptrapd","-n","-L","o","-f","-M","/mibs","-m","ALL"]