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 e5b4a5a commit 61ba41f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .hadolint.yaml

This file was deleted.

6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Environment: ROOT6 on Ubuntu/Bionic:
FROM docker.io/library/ubuntu:bionic
RUN apt-get -y update && \
apt-get -y install \
# hadolint ignore=DL3008
RUN apt-get update -y && \
apt-get install --no-install-recommends -y \
binutils \
build-essential \
cmake \
Expand Down Expand Up @@ -43,6 +44,7 @@ RUN apt-get -y update && \
apt-get -y clean

ENV ROOTSYS /usr/local
# hadolint ignore=DL3003
RUN git clone --quiet --depth 1 --branch v6-18-04 http://root.cern.ch/git/root.git /code/root && \
cd /code && \
mkdir _build && \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test:
docker run -i -t --rm $(IMAGE) root-config --version | grep -q ^6

lint:
docker run --rm -i -v `pwd`/.hadolint.yaml:/root/.config/hadolint.yaml docker.io/hadolint/hadolint:v1.18.2 < Dockerfile
docker run --rm -i docker.io/hadolint/hadolint:v2.12.0 < Dockerfile

push:
docker push $(IMAGE)

0 comments on commit 61ba41f

Please sign in to comment.