Skip to content

Commit 35e2a6a

Browse files
committed
Integrate completion scripts with docker images
1 parent e198539 commit 35e2a6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

e2e-tests/docker/pbm.dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ WORKDIR /build
99
RUN mkdir -p /data/db
1010

1111
COPY --from=mongo_image /bin/mongod /bin/
12-
RUN dnf install epel-release && dnf update && dnf install make gcc krb5-devel iproute-tc libfaketime
12+
RUN dnf install epel-release && dnf update && dnf install make gcc krb5-devel iproute-tc libfaketime bash-completion
1313

1414
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
1515
curl -sL -o /tmp/golang.tar.gz https://go.dev/dl/go1.23.2.linux-${arch}.tar.gz && \
@@ -21,3 +21,5 @@ FROM base-build
2121
COPY . .
2222

2323
RUN make build-tests && cp /build/bin/* /bin/
24+
RUN pbm completion bash > /etc/bash_completion.d/pbm
25+
RUN useradd -u 1001 user

0 commit comments

Comments
 (0)