mirror of
https://github.com/openappsec/attachment.git
synced 2025-09-29 11:16:30 +03:00
Istio support (#30)
* adding istio files * fix the envoy CMakList file * fix the envoy CMakList file * adding the .mod file * adding the webhook injector image * adding istio files * adding istio files * fix the envoy CMakList file * fix the envoy CMakList file * adding the .mod file * adding the webhook injector image * adding istio files * pulling from dev * fix the envoy CMakList file * adding istio files * fix missing header * fix wrong name of library * fix envoy CMakeLists * remove cloud guard names * remove cloud guard names * adding istio files * adding istio files * [JIRA] INXT-44274: test agent image * add Daniel fixes * remove zlib library * remove nano attachment ut
This commit is contained in:
26
docker/openappsec-waf-webhook/Dockerfile
Executable file
26
docker/openappsec-waf-webhook/Dockerfile
Executable file
@@ -0,0 +1,26 @@
|
||||
# Use Python 3.9 slim image as the base
|
||||
FROM python:3.9-slim
|
||||
|
||||
# Install dependencies
|
||||
RUN pip install kubernetes cryptography flask --progress-bar off
|
||||
|
||||
# Create directory for certs
|
||||
RUN mkdir -p /certs
|
||||
|
||||
# Copy the Python scripts
|
||||
COPY keygen.py /app/keygen.py
|
||||
COPY webhook_server.py /app/webhook_server.py
|
||||
COPY secretgen.py /app/secretgen.py
|
||||
COPY run.sh /app/run.sh
|
||||
|
||||
# Make the script executable
|
||||
RUN chmod +x /app/run.sh
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Expose port 443
|
||||
EXPOSE 443
|
||||
|
||||
# Run the webhook server
|
||||
CMD ["/app/run.sh"]
|
Reference in New Issue
Block a user