Start Neue Main
This commit is contained in:
17
Dev/n8n/Dockerfile
Normal file
17
Dev/n8n/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# Use the official n8n image as a base
|
||||
FROM n8nio/n8n:latest
|
||||
|
||||
# Switch to the root user to install packages
|
||||
USER root
|
||||
|
||||
# Install docker-cli using the apk package manager
|
||||
RUN apk add --no-cache docker-cli
|
||||
|
||||
# Install Python, pip, and required build dependencies
|
||||
RUN apk add --no-cache python3 py3-pip build-base
|
||||
|
||||
# Install required Python packages
|
||||
RUN pip install netmiko --break-system-packages
|
||||
|
||||
# Switch back to the non-privileged node user
|
||||
USER node
|
||||
Reference in New Issue
Block a user