Skip to content

Commit 7f904c8

Browse files
authored
Add Python tools to universal Dockerfile
1 parent dff6442 commit 7f904c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

infra/universal.Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV GOROOT=/usr/local/go \
1010
USER root
1111
RUN apt-get update && \
1212
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
13-
default-jdk maven gradle php php-cli php-mbstring php-xml ruby ruby-dev unzip && \
13+
default-jdk maven gradle php php-cli php-mbstring php-xml ruby ruby-dev unzip python-poetry python-black ruff pipx && \
1414
rm -rf /var/lib/apt/lists/*
1515

1616
USER project
@@ -21,7 +21,6 @@ RUN ARCH=$(dpkg --print-architecture) && if [ "$ARCH" = "amd64" ]; then GO_ARCH=
2121
curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
2222
gem install bundler && \
2323
KOTLIN_VERSION=$(curl -s https://api.github.com/repos/JetBrains/kotlin/releases/latest | grep '"tag_name"' | sed -E 's/.*"v([^"]+)".*/\1/') && curl -sL https://github.com/JetBrains/kotlin/releases/download/v${KOTLIN_VERSION}/kotlin-compiler-${KOTLIN_VERSION}.zip -o kotlin.zip && unzip -q kotlin.zip -d /opt && rm kotlin.zip && chmod -R a+rx /opt/kotlinc && \
24-
pip3 install --no-cache-dir poetry black mypy ruff pipx && \
2524
su - project -c 'go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest' && \
2625
su - project -c 'go install golang.org/x/tools/gopls@latest'
2726

0 commit comments

Comments
 (0)