mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
- Remove old, unused scripts in `bin/` - Remove old images from release - `test` and `test-bind` are no longer necessary. Test images are in a different repo now - Remove Docker image creation from sbt build config - actual `Dockerfile` files are easier to deal with - Update scripts in `bin/` to utilize new Docker images - Update documentation for changes - Update all Docker Compose and configuration to use exposed ports on the `integration` image (19001, 19002, etc) both inside the container and outside to make testing more consistent irrespective of method - Update FlywayDB dependency to v8 to fix a weird logging bug that showed up during integration testing. See: https://github.com/flyway/flyway/issues/2270 - Add `test/api/integration` Docker container definition to be used for any integration testing - Move `module/api/functional_test` to `test/api/functional` to centralize the "integration-type" external tests and testing utilities - Move functional testing and integration image to the `test/` folder off of the root to reduce confusion with `bin/` and `docker/`
18 lines
462 B
Docker
18 lines
462 B
Docker
FROM adoptopenjdk/openjdk11:jdk-11.0.7_10-alpine
|
|
|
|
RUN apk add --update --no-cache netcat-openbsd bash
|
|
|
|
# install the jar onto the server, asserts this Dockerfile is copied to target/scala-2.12 after a build
|
|
COPY vinyldns.jar /app/vinyldns-server.jar
|
|
COPY run.sh /app/run.sh
|
|
RUN chmod a+x /app/run.sh
|
|
|
|
COPY docker.conf /app/docker.conf
|
|
|
|
EXPOSE 9000
|
|
|
|
# set the entry point for the container to start vinyl, specify the config resource
|
|
ENTRYPOINT ["/app/run.sh"]
|
|
|
|
|