mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
* Update usage to more clearly define params * Fix error in help text re mysql port default * Fix arg parsing in shell script * Fix pulling latest proto regardless of local version * Add clean up to docker run in shell script * Remove unnecessary actions from Dockerfile
19 lines
522 B
Docker
19 lines
522 B
Docker
FROM znly/protoc:0.4.0 as pbcompile
|
|
|
|
# Needs to protoc compile modules/core/src/main/protobuf/VinylDNSProto.proto
|
|
COPY VinylDNSProto.proto /vinyldns/target/
|
|
|
|
# Create a compiled protobuf in /vinyldns/target
|
|
RUN protoc --version && \
|
|
protoc --proto_path=/vinyldns/target --python_out=/vinyldns/target /vinyldns/target/VinylDNSProto.proto
|
|
|
|
|
|
FROM python:3.7-alpine
|
|
|
|
RUN pip install mysql-connector-python
|
|
|
|
COPY --from=pbcompile /vinyldns/target /app/
|
|
COPY update-support-user.py /app/update-support-user.py
|
|
|
|
WORKDIR /app
|