Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add seccomp syscall filtering. #20

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions b3lb/rest/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default_app_config = 'rest.apps.B3lbAppConfig'
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

FROM alpine:3.13 AS build

RUN apk --no-cache add build-base python3 python3-dev py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml
RUN apk --no-cache add build-base python3 python3-dev py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml py3-libseccomp

ENV PYTHONUNBUFFERED 1
ENV PYTHONPATH /usr/local/lib/python3.8/site-packages
Expand All @@ -30,7 +30,7 @@ RUN pip3 install --prefix=/usr/local -r requirements.txt

FROM alpine:3.13

RUN apk --no-cache add python3 py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml
RUN apk --no-cache add python3 py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml py3-libseccomp

ARG B3LBUID=8318
ENV PYTHONUNBUFFERED 1
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

FROM alpine:3.13 AS build

RUN apk --no-cache add build-base python3 python3-dev py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml
RUN apk --no-cache add build-base python3 python3-dev py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml py3-libseccomp

ENV DJANGO_SETTINGS_MODULE=loadbalancer.settings_dev
ENV PYTHONUNBUFFERED 1
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.static
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

FROM alpine:3.13 AS build

RUN apk --no-cache add build-base python3 python3-dev py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml
RUN apk --no-cache add build-base python3 python3-dev py3-pip py3-psycopg2 py3-asgiref py3-sqlparse py3-tz py3-redis py3-requests py3-aiohttp py3-dateutil py3-dotenv py3-wheel py3-websockets py3-yaml py3-libseccomp

ENV PYTHONUNBUFFERED 1
ENV PYTHONPATH /usr/local/lib/python3.8/site-packages
Expand Down