From 0e93ee31fe8f30331d5b15008d53e129e9ca1846 Mon Sep 17 00:00:00 2001 From: Shannon Klaus Date: Wed, 13 Nov 2024 13:08:41 -0700 Subject: [PATCH] remove security lines from dockerfile for now --- .github/workflows/docker-build-context/Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/docker-build-context/Dockerfile b/.github/workflows/docker-build-context/Dockerfile index 9ac06a15..5f20cb51 100644 --- a/.github/workflows/docker-build-context/Dockerfile +++ b/.github/workflows/docker-build-context/Dockerfile @@ -12,16 +12,6 @@ WORKDIR /opt/aerospike/smd ARG AEROSPIKE_CONF_TEMPLATE_PATH=/etc/aerospike/aerospike.template.conf -# Not using asconfig to edit config because we are working with a template file, which may not have valid values yet -RUN echo -e "security {\n\tenable-quotas true\n}\n" >> $AEROSPIKE_CONF_TEMPLATE_PATH -# security.smd was generated manually by -# 1. Starting a new Aerospike EE server using Docker -# 2. Creating the superuser user -# 3. Copying /opt/aerospike/smd/security.smd from the container and committing it to this repo -# This file should always work -# TODO: generate this automatically, somehow. -COPY security.smd . - # Enable strong consistency RUN sed -i "s/\(namespace.*{\)/\1\n\tstrong-consistency true/" $AEROSPIKE_CONF_TEMPLATE_PATH RUN sed -i "s/\(namespace.*{\)/\1\n\tstrong-consistency-allow-expunge true/" $AEROSPIKE_CONF_TEMPLATE_PATH