-
Notifications
You must be signed in to change notification settings - Fork 5
Description
The base image is
FROM mhart/alpine-node
Below is my slightly modified "RUN" command to create a docker image. The highlighted fields below are added
RUN apk add --update --no-cache linux-headers alpine-sdk curl findutils file sed &&
mkdir -p /etc/snmp &&
curl -L "https://sourceforge.net/projects/net-snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz/download" -o net-snmp.tgz &&
tar zxvf net-snmp.tgz &&
cd net-snmp-* &&
find . -type f -print0 | xargs -0 sed -i 's/"/proc/"/host_proc/g' &&
./configure --prefix=/usr/local --with-defaults &&
make &&
make install &&
cd .. &&
rm -Rf ./net-snmp* &&
apk del linux-headers alpine-sdk curl findutils sed
Everything works except AES encryption. Do i need to bake the image differently for AES encryption to work.
From the config summary, it seems AES support is there by default
Net-SNMP configuration summary:
SNMP Versions Supported: 1 2c 3
Building for: linux
Net-SNMP Version: 5.8
Network transport support: Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPv6Base
SNMPv3 Security Modules: usm
Agent MIB code: default_modules => snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
MYSQL Trap Logging: unavailable
Embedded Perl support: disabled
SNMP Perl modules: disabled
SNMP Python modules: disabled
Crypto support from: internal
Authentication support: MD5 SHA1
Encryption support: DES AES
Local DNSSEC validation: disabled