fix requirements.txt missing; update docker build command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Chris Hammer 2023-12-08 15:37:20 -05:00
parent 3db21a1a13
commit 6aab3ac866
2 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@ steps:
BUILD_NAME : centos9 BUILD_NAME : centos9
BUILD_TAG : "$CI_COMMIT_BRANCH-$CI_BUILD_NUMBER" BUILD_TAG : "$CI_COMMIT_BRANCH-$CI_BUILD_NUMBER"
commands: commands:
- echo "docker build -f build/Containerfile.centos-stream9 -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_COMMIT_BRANCH ." - echo "docker build -f build/Containerfile.centos-stream9 -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_COMMIT_BRANCH-$CI_BUILD_NUMBER ."
- docker build -f build/Containerfile.centos-stream9 -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_COMMIT_BRANCH . - docker build -f build/Containerfile.centos-stream9 -t $REGISTRY/$BUILD_PREFIX/$BUILD_NAME:$CI_COMMIT_BRANCH-$CI_BUILD_NUMBER .
# - name: docker_push # - name: docker_push
# environment: # environment:

View File

@ -8,7 +8,7 @@ RUN mkdir -p /root/.ssh
COPY conf/ssh_config /root/.ssh/config COPY conf/ssh_config /root/.ssh/config
COPY conf/hosts /etc/hosts COPY conf/hosts /etc/hosts
COPY conf/dnf.conf /etc/dnf/dnf.conf COPY conf/dnf.conf /etc/dnf/dnf.conf
# COPY python/requirements.txt /tmp/requirements.txt COPY python/requirements.txt /tmp/requirements.txt
# RUN dnf install -y python3-pip git ansible-core python3-ansible-lint # RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
RUN dnf update -y \ RUN dnf update -y \