diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8fc5ce4..b8f7f9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,7 +45,7 @@ images_build: - docker save $UNITTEST_IMAGE_TAG > images/unittest.tar - docker build -t $BADSSL_IMAGE_TAG -f ./images_build/badssl.com/Dockerfile ./images_build/badssl.com/ - docker save $BADSSL_IMAGE_TAG > images/badssl.tar - - docker build -t $DNS_IMAGES_TAGE -f ./dnsmasq/Dockerfile ./dnsmasq + - docker build -t $DNS_IMAGES_TAGE -f ./images_build/dnsmasq/Dockerfile ./images_build/dnsmasq - docker save $DNS_IMAGES_TAGE > images/dns.tar diff --git a/cmake/Package.cmake b/cmake/Package.cmake index 5024537..db98a49 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -24,7 +24,7 @@ set(CPACK_RPM_POST_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/cmake/PostunInstall install(FILES compose/docker-compose.yml DESTINATION ./compose) install(FILES images_build/unittest_python/unittest/etc/tsg-diagnose.config DESTINATION ./etc) install(FILES service/tsg-diagnose.service DESTINATION /usr/lib/systemd/system) -install(FILES dnsmasq/config/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/) +install(FILES images_build/dnsmasq/config/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/) install(DIRECTORY images/ DESTINATION ./images) include(CPack) diff --git a/dnsmasq/Dockerfile b/images_build/dnsmasq/Dockerfile similarity index 100% rename from dnsmasq/Dockerfile rename to images_build/dnsmasq/Dockerfile diff --git a/dnsmasq/README.md b/images_build/dnsmasq/README.md similarity index 100% rename from dnsmasq/README.md rename to images_build/dnsmasq/README.md diff --git a/dnsmasq/config/dnsmasq.conf b/images_build/dnsmasq/config/dnsmasq.conf similarity index 100% rename from dnsmasq/config/dnsmasq.conf rename to images_build/dnsmasq/config/dnsmasq.conf diff --git a/dnsmasq/dnsmasq.conf b/images_build/dnsmasq/dnsmasq.conf similarity index 100% rename from dnsmasq/dnsmasq.conf rename to images_build/dnsmasq/dnsmasq.conf