Skip to content

Commit 80bcc75

Browse files
authored
Update Dependabot to ignore updating Ubuntu major/minor versions (#5548)
1 parent 6169023 commit 80bcc75

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.docker/ubuntu-22.04/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Base image
2-
FROM ubuntu:22.04@sha256:59ccd419c0dc0edf9e3bff1a3b2b073ea15a2ce4bc45ce7c989278b225b09af3 AS base
2+
FROM ubuntu:22.04@sha256:09506232a8004baa32c47d68f1e5c307d648fdd59f5e7eaa42aaf87914100db3 AS base
33

44
LABEL org.opencontainers.image.source=https://github.com/microsoft/msquic
55

@@ -40,7 +40,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
4040
&& rm -rf /var/lib/apt/lists/*
4141

4242
RUN gem install fpm
43-
RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
43+
RUN wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
4444
sudo dpkg -i packages-microsoft-prod.deb && \
4545
sudo add-apt-repository universe && \
4646
sudo apt-get update -y && \
@@ -55,7 +55,7 @@ RUN git config --global safe.directory '*'
5555
FROM base AS xdp-build
5656

5757
RUN apt-get update -y && apt-get install -y \
58-
&& echo "deb [arch=amd64] http://cz.archive.ubuntu.com/ubuntu noble main" > /etc/apt/sources.list.d/xdp.list \
58+
&& echo "deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu noble main" > /etc/apt/sources.list.d/xdp.list \
5959
&& apt-get update -y && apt-get install --no-install-recommends -y -t noble \
6060
libnl-3-dev \
6161
libnl-genl-3-dev \

.docker/ubuntu-24.04/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN gem install fpm
4343
RUN wget -q https://launchpad.net/ubuntu/+archive/primary/+files/libicu72_72.1-3ubuntu3_amd64.deb \
4444
&& dpkg -i ./libicu72_72.1-3ubuntu3_amd64.deb \
4545
&& rm ./libicu72_72.1-3ubuntu3_amd64.deb \
46-
&& wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
46+
&& wget -q https://packages.microsoft.com/config/ubuntu/24.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
4747
sudo dpkg -i packages-microsoft-prod.deb && \
4848
sudo add-apt-repository universe && \
4949
sudo apt-get update -y && \

.github/dependabot.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,9 @@ updates:
3535
- package-ecosystem: "docker"
3636
directories:
3737
- "/.docker/ubuntu-22.04"
38-
schedule:
39-
interval: "monthly"
40-
ignore:
41-
- dependency-name: "ubuntu"
42-
versions: ["24.x", ">= 23.0.0", "23.x"]
43-
44-
- package-ecosystem: "docker"
45-
directories:
4638
- "/.docker/ubuntu-24.04"
4739
schedule:
4840
interval: "monthly"
4941
ignore:
5042
- dependency-name: "ubuntu"
51-
versions: ["25.x", ">= 25.0.0"]
43+
update-types: ["version-update:semver-major", "version-update:semver-minor"]

0 commit comments

Comments
 (0)