Skip to content

Commit f405c3f

Browse files
authored
Merge pull request #19 from 100paperkite/pipx
add python package runner tool
2 parents b1e8099 + 695c088 commit f405c3f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ENV TS_NODE 10.9.2
88
ENV SWC_CORE 1.11.24
99
ENV AWS_CLI 2.27.19
1010
ENV BUILDKIT_VERSION 0.21.1
11+
ENV PIPX_VERSION 1.1.0-1
1112

1213
RUN apt-get update -y \
1314
&& apt-get install -y --no-install-recommends \
@@ -18,11 +19,16 @@ RUN apt-get update -y \
1819
jq \
1920
patch \
2021
python3 \
22+
pipx=${PIPX_VERSION} \
2123
curl \
2224
unzip \
2325
git \
2426
&& apt-get clean
2527

28+
29+
# https://github.com/pypa/pipx?tab=readme-ov-file#on-linux
30+
RUN pipx ensurepath
31+
2632
# install awscli v2. see https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
2733
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWS_CLI}.zip" -o /tmp/awscliv2.zip \
2834
&& unzip /tmp/awscliv2.zip -d /tmp/ \
@@ -59,4 +65,3 @@ RUN curl -L "https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaw
5965
&& chmod a+x /usr/bin/docker-credential-ecr-login
6066

6167
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
62-

0 commit comments

Comments
 (0)