Skip to content

Commit

Permalink
Fixes #22917: add label to rudder-plugin docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
peckpeck committed Jun 19, 2023
1 parent 205d6e5 commit 1821056
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions ci/dep-check.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG JDK_VERSION=11
FROM maven:3-openjdk-${JDK_VERSION}
LABEL ci=rudder/ci/dep-check.Dockerfile

ARG USER_ID=1000
COPY ci/user.sh .
RUN ./user.sh $USER_ID

RUN apt-get update && apt-get install -y make
RUN ./user.sh $USER_ID ;\
apt-get update && apt-get install -y make
15 changes: 8 additions & 7 deletions ci/plugins.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
ARG JDK_VERSION=11
FROM maven:3-openjdk-${JDK_VERSION}
LABEL ci=rudder/ci/plugins.Dockerfile

ARG USER_ID=1000
COPY ci/user.sh .
RUN ./user.sh $USER_ID

# Install elm
RUN curl -L -o elm.gz "https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz"
RUN gzip -d elm.gz
RUN chmod +x elm
RUN mv elm /usr/local/bin/elm-0.19.1
RUN apt-get update && apt-get install -y npm
RUN npm install terser@5.13.1 -g
RUN curl -L -o elm.gz "https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz" ;\
gzip -d elm.gz ;\
chmod +x elm ;\
mv elm /usr/local/bin/elm-0.19.1 ;\
apt-get update && apt-get install -y npm ;\
npm install terser@5.13.1 -g

# For building python plugins
RUN apt-get update && apt-get install -y python3-docopt poppler-utils
RUN apt-get update && apt-get install -y python3-docopt poppler-utils
1 change: 1 addition & 0 deletions ci/pylint.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM python
LABEL ci=rudder/ci/pylint.Dockerfile

RUN pip install pylint
1 change: 1 addition & 0 deletions ci/shellcheck.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM debian:11
LABEL ci=rudder/ci/shellcheck.Dockerfile

RUN apt-get update && apt-get install -y shellcheck
1 change: 1 addition & 0 deletions ci/typos.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM rust
LABEL ci=rudder/ci/typos.Dockerfile
ARG VERSION

RUN cargo install -f typos-cli --version =$VERSION

0 comments on commit 1821056

Please sign in to comment.