File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ENV TS_NODE 10.9.2
88ENV SWC_CORE 1.11.24
99ENV AWS_CLI 2.27.19
1010ENV BUILDKIT_VERSION 0.21.1
11+ ENV PIPX_VERSION 1.1.0-1
1112
1213RUN 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
2733RUN 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
6167RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
62-
You can’t perform that action at this time.
0 commit comments