Skip to content

Commit 8980aec

Browse files
committed
install gdb
1 parent 04cd85c commit 8980aec

9 files changed

+24
-0
lines changed

ci/cloudbuild/dockerfiles/demo-alpine-stable.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
8888

8989
## [DONE packaging.md]
9090

91+
RUN apk update && apk add gdb
92+
9193
# Speed up the CI builds using sccache.
9294
WORKDIR /var/tmp/sccache
9395
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \

ci/cloudbuild/dockerfiles/demo-debian-bookworm.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
9999

100100
## [DONE packaging.md]
101101

102+
RUN apt-get update && \
103+
apt-get --no-install-recommends install -y gdb
104+
102105
WORKDIR /var/tmp/sccache
103106
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
104107
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-debian-bullseye.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
144144

145145
## [DONE packaging.md]
146146

147+
RUN apt-get update && \
148+
apt-get --no-install-recommends install -y gdb
149+
147150
WORKDIR /var/tmp/sccache
148151
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
149152
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-fedora.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
8989

9090
## [DONE packaging.md]
9191

92+
RUN dnf makecache && dnf install -y gdb
93+
9294
WORKDIR /var/tmp/sccache
9395
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
9496
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-opensuse-leap.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
7979

8080
## [DONE packaging.md]
8181

82+
RUN zypper refresh && \
83+
zypper install --allow-downgrade -y gdb
84+
8285
WORKDIR /var/tmp/sccache
8386
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
8487
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-rockylinux-9.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
201201

202202
## [DONE packaging.md]
203203

204+
RUN dnf makecache && dnf update -y && dnf install -y gdb
205+
204206
WORKDIR /var/tmp/sccache
205207
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
206208
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-ubuntu-24.04.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
101101

102102
## [DONE packaging.md]
103103

104+
RUN apt-get update && \
105+
apt-get --no-install-recommends install -y gdb
106+
104107
WORKDIR /var/tmp/sccache
105108
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
106109
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-ubuntu-focal.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
160160

161161
## [DONE packaging.md]
162162

163+
RUN apt-get update && \
164+
apt-get --no-install-recommends install -y gdb
165+
163166
WORKDIR /var/tmp/sccache
164167
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
165168
tar -zxf - --strip-components=1 && \

ci/cloudbuild/dockerfiles/demo-ubuntu-jammy.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
141141

142142
## [DONE packaging.md]
143143

144+
RUN apt-get update && \
145+
apt-get --no-install-recommends install -y gdb
146+
144147
WORKDIR /var/tmp/sccache
145148
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
146149
tar -zxf - --strip-components=1 && \

0 commit comments

Comments
 (0)