Skip to content

Commit 7e7d4fe

Browse files
committed
Update Dockerfile to install specific versions of dependencies for consistency
1 parent e861d18 commit 7e7d4fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ LABEL maintainer="support@lextudio.com"
55
LABEL description="Docker image for running snmpsim (PySNMP Simulator)"
66
LABEL version="1.1"
77

8-
RUN pip install --no-cache-dir cryptography pysnmp snmpsim
8+
# Install exact versions so the image always picks up the expected releases.
9+
RUN pip install --no-cache-dir cryptography pysnmp pysmi snmpsim==1.2.0
910

1011
COPY data /usr/local/snmpsim/data
1112
COPY snmptrapd.py /opt/snmptrapd.py

0 commit comments

Comments
 (0)