root: pin node images to v16
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
73733b20b6
commit
72a93c0959
|
@ -11,7 +11,7 @@ RUN pip install pipenv && \
|
|||
pipenv lock -r --dev-only > requirements-dev.txt
|
||||
|
||||
# Stage 2: Build website
|
||||
FROM docker.io/node as website-builder
|
||||
FROM docker.io/node:16 as website-builder
|
||||
|
||||
COPY ./website /static/
|
||||
|
||||
|
@ -19,7 +19,7 @@ ENV NODE_ENV=production
|
|||
RUN cd /static && npm i && npm run build-docs-only
|
||||
|
||||
# Stage 3: Build webui
|
||||
FROM docker.io/node as web-builder
|
||||
FROM docker.io/node:16 as web-builder
|
||||
|
||||
COPY ./web /static/
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ class CertificateKeyPairFilter(FilterSet):
|
|||
class CertificateKeyPairViewSet(UsedByMixin, ModelViewSet):
|
||||
"""CertificateKeyPair Viewset"""
|
||||
|
||||
queryset = CertificateKeyPair.objects.all()
|
||||
queryset = CertificateKeyPair.objects.exclude(managed__isnull=False)
|
||||
serializer_class = CertificateKeyPairSerializer
|
||||
filterset_class = CertificateKeyPairFilter
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Stage 1: Build website
|
||||
FROM docker.io/node as web-builder
|
||||
FROM docker.io/node:16 as web-builder
|
||||
|
||||
COPY ./web /static/
|
||||
|
||||
|
|
Reference in New Issue