Test docker: dont expose ports

This commit is contained in:
Olof hagsand 2023-12-06 13:46:27 +01:00
parent f64c9016a1
commit 9bd1b8994c
2 changed files with 5 additions and 5 deletions

View file

@ -149,9 +149,9 @@ RUN echo "rwcommunity public localhost" >> /etc/snmp/snmpd.conf
RUN echo "agentxsocket unix:/var/run/snmp.sock" >> /etc/snmp/snmpd.conf
RUN echo "agentxperms 777 777" >> /etc/snmp/snmpd.conf
# Expose https port for restconf
EXPOSE 80/tcp
EXPOSE 443/tcp
# Dont need to expose restconf ports for internal tests
#EXPOSE 80/tcp
#EXPOSE 443/tcp
# Create clicon user and group
RUN adduser -D -H clicon