mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
- Simplify build config - Add TTY check to Makefiles for running Docker containers - Update `fs2` to latest patch - Update `sbt-assembly` plugin - Update portal to remove chatty console - Update portal scripts to add license header - Update prepare-portal/Gruntfile to combine js and css where applicable - Remove unused gentelella files from final portal artifact - Add support for shared zones to quickstart/docker images - Consolidate built artifacts in `artifacts/` to make eventual release easier
24 lines
752 B
Docker
24 lines
752 B
Docker
FROM znly/protoc:0.4.0 as pbcompile
|
|
WORKDIR /vinyldns
|
|
|
|
# Needs to protoc compile modules/core/src/main/protobuf/VinylDNSProto.proto
|
|
COPY modules/core/src/main/protobuf/VinylDNSProto.proto /vinyldns
|
|
|
|
# Create a compiled protobuf in /vinyldns/target
|
|
RUN mkdir -p /vinyldns/python && \
|
|
protoc --proto_path=/vinyldns --python_out=/vinyldns/python /vinyldns/VinylDNSProto.proto
|
|
|
|
|
|
FROM python:3.7-alpine
|
|
ARG DOCKERFILE_PATH
|
|
WORKDIR /app
|
|
RUN pip install mysql-connector-python==8.0.27
|
|
|
|
ENV DB_USER="root" DB_PASS="pass" DB_HOST="vinyldns-integration" DB_NAME="vinyldns" DB_PORT="19002"
|
|
|
|
COPY --from=pbcompile /vinyldns/python .
|
|
COPY ${DOCKERFILE_PATH}/update-support-user.py .
|
|
RUN chmod 755 update-support-user.py
|
|
|
|
ENTRYPOINT ["./update-support-user.py"]
|