Skip to content

Commit

Permalink
chore: Update Dockerfile labels for version and maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Jun 26, 2024
1 parent 490483d commit 7727a63
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions misc/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sed -i "s@${OLD_VERSION}@${NEW_VERSION}@g" .github/ISSUE_TEMPLATE/bug_report.yml
# pyproject
sed -i "s@${OLD_VERSION}@${NEW_VERSION}@g" pyproject.toml
# Dockerfiles
sed -i "s@LABEL version.*@LABEL version \"$NEW_VERSION\"@g" src/bw/Dockerfile
sed -i "s@LABEL version.*@LABEL version \"$NEW_VERSION\"@g" src/scheduler/Dockerfile
sed -i "s@LABEL version.*@LABEL version \"$NEW_VERSION\"@g" src/ui/Dockerfile
sed -i "s@LABEL version.*@LABEL version \"$NEW_VERSION\"@g" src/autoconf/Dockerfile
sed -i "s@LABEL version.*@LABEL version=\"$NEW_VERSION\"@g" src/bw/Dockerfile
sed -i "s@LABEL version.*@LABEL version=\"$NEW_VERSION\"@g" src/scheduler/Dockerfile
sed -i "s@LABEL version.*@LABEL version=\"$NEW_VERSION\"@g" src/ui/Dockerfile
sed -i "s@LABEL version.*@LABEL version=\"$NEW_VERSION\"@g" src/autoconf/Dockerfile
8 changes: 4 additions & 4 deletions src/autoconf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ RUN apk add --no-cache bash && \
RUN apk add --no-cache "busybox>=1.36.1-r17" "busybox-binsh>=1.36.1-r17" "ssl_client>=1.36.1-r17" # CVE-2023-42363 CVE-2023-42364 CVE-2023-42365 CVE-2023-42366
RUN apk add --no-cache "libcrypto3>=3.1.5-r0" "libssl3>=3.1.5-r0" # CVE-2024-4603

LABEL maintainer "Bunkerity <[email protected]>"
LABEL version "1.6.0-beta"
LABEL url "https://www.bunkerweb.io"
LABEL bunkerweb.type "autoconf"
LABEL maintainer="Bunkerity <[email protected]>"
LABEL version="1.6.0-beta"
LABEL url="https://www.bunkerweb.io"
LABEL bunkerweb.type="autoconf"

VOLUME /data

Expand Down
10 changes: 5 additions & 5 deletions src/bw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ RUN apk add --no-cache openssl pcre bash python3 yajl geoip libxml2 libgd curl &
# Fix CVEs
RUN apk add --no-cache "busybox>=1.36.1-r17" "busybox-binsh>=1.36.1-r17" "ssl_client>=1.36.1-r17" # CVE-2023-42363 CVE-2023-42366

LABEL maintainer "Bunkerity <[email protected]>"
LABEL version "1.6.0-beta"
LABEL url "https://www.bunkerweb.io"
LABEL bunkerweb.type "bunkerweb"
LABEL bunkerweb.INSTANCE "bunkerweb"
LABEL maintainer="Bunkerity <[email protected]>"
LABEL version="1.6.0-beta"
LABEL url="https://www.bunkerweb.io"
LABEL bunkerweb.type="bunkerweb"
LABEL bunkerweb.INSTANCE="bunkerweb"

EXPOSE 8080/tcp 8443/tcp 8443/udp

Expand Down
8 changes: 4 additions & 4 deletions src/scheduler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ COPY --chown=root:scheduler --chmod=770 src/bw/misc/country.mmdb /var/tmp/bunker
# Fix CVEs
RUN apk add --no-cache "busybox>=1.36.1-r17" "busybox-binsh>=1.36.1-r17" "ssl_client>=1.36.1-r17" # CVE-2023-42363 CVE-2023-42364 CVE-2023-42365 CVE-2023-42366

LABEL maintainer "Bunkerity <[email protected]>"
LABEL version "1.6.0-beta"
LABEL url "https://www.bunkerweb.io"
LABEL bunkerweb.type "scheduler"
LABEL maintainer="Bunkerity <[email protected]>"
LABEL version="1.6.0-beta"
LABEL url="https://www.bunkerweb.io"
LABEL bunkerweb.type="scheduler"

VOLUME /data

Expand Down
8 changes: 4 additions & 4 deletions src/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ RUN apk add --no-cache bash unzip libmagic mariadb-client postgresql-client sqli
RUN apk add --no-cache "busybox>=1.36.1-r17" "busybox-binsh>=1.36.1-r17" "ssl_client>=1.36.1-r17" # CVE-2023-42363 CVE-2023-42364 CVE-2023-42365 CVE-2023-42366
RUN apk add --no-cache "libcrypto3>=3.1.5-r0" "libssl3>=3.1.5-r0" # CVE-2024-4603

LABEL maintainer "Bunkerity <[email protected]>"
LABEL version "1.6.0-beta"
LABEL url "https://www.bunkerweb.io"
LABEL bunkerweb.type "ui"
LABEL maintainer="Bunkerity <[email protected]>"
LABEL version="1.6.0-beta"
LABEL url="https://www.bunkerweb.io"
LABEL bunkerweb.type="ui"

VOLUME /data

Expand Down

0 comments on commit 7727a63

Please sign in to comment.