Skip to content

Commit 0f90c6e

Browse files
committed
Move to debian trixie slim
1 parent cf83fdb commit 0f90c6e

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

air_gapped/Dockerfile

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,22 @@ FROM docker.elastic.co/docs/preview:latest AS build
22

33
COPY air_gapped/work/target_repo.git /docs_build/.repos/target_repo.git
44

5-
FROM perl:5.42-bookworm
5+
FROM debian:trixie-slim
6+
#FROM perl:5.42-bookworm
67

7-
#RUN apt-get install libxml2 libxml2-dev
8-
RUN cpan install -T XML::LibXML
9-
RUN cpan install -T File::Copy::Recursive
10-
RUN cpan install -T Path::Class
11-
RUN cpan install -T Parallel::ForkManager
12-
RUN cpan install -T YAML
138
RUN apt update -y
9+
RUN apt-get install -y perl
1410
RUN apt-get install -y nginx
1511
RUN apt-get install -y nodejs
12+
RUN apt-get install -y git
13+
14+
RUN apt-get install -y libxml-simple-perl
15+
RUN apt-get install -y libfile-copy-recursive-perl
16+
RUN apt-get install -y libpath-class-perl
17+
RUN apt-get install -y libcapture-tiny-perl
18+
RUN apt-get install -y libparallel-forkmanager-perl
19+
RUN apt-get install -y libyaml-perl
20+
1621
COPY --from=build /docs_build /docs_build
1722
COPY --from=build /node_modules /node_modules
1823

preview/git.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const toStringHandler = (resolve, reject, onMissing) => (err, stdout) => {
255255
if (err.message.includes("Not a valid object name")) {
256256
onMissing("missing");
257257
} else if (err.message.includes("does not exist in")) {
258-
onMissing("missing");
258+
onMissing("missing");
259259
} else {
260260
reject(err);
261261
}

0 commit comments

Comments
 (0)