Skip to content

Commit

Permalink
docker: hadolint upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Oct 31, 2023
1 parent 817c118 commit 5238bfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
uses: actions/checkout@v3

- name: Check Dockerfile compliance
run: docker run -i --rm docker.io/hadolint/hadolint:v1.18.2 < Dockerfile
run: docker run -i --rm docker.io/hadolint/hadolint:v2.12.0 < Dockerfile
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM docker.io/centos:centos7

# Install all required packages
# hadolint ignore=DL3033, DL3013, DL3003
# hadolint ignore=DL3033,DL3013,DL3003
RUN yum install -y http://linuxsoft.cern.ch/wlcg/centos7/x86_64/wlcg-repo-1.0.0-1.el7.noarch.rpm && \
yum install -y HEP_OSlibs git environment-modules which && \
yum clean all && \
curl -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
chmod +x /tmp/get-pip.py && \
/tmp/get-pip.py && \
rm -f /tmp/get-pip.py && \
pip install PyYAML requests && \
pip install --no-cache-dir PyYAML requests && \
mkdir -p /opt/ali-bot && \
cd /opt/ali-bot && \
git clone https://github.com/alisw/ali-bot /opt/ali-bot
Expand Down

0 comments on commit 5238bfc

Please sign in to comment.