Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
use apt-update and install in same buildkit layer
Browse files Browse the repository at this point in the history
  • Loading branch information
c-p-b committed Aug 21, 2023
1 parent f119f5a commit 18cf0d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aircmd/actions/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,7 @@ def with_gradle(
openjdk_with_docker = (
client.container()
.from_("openjdk:17.0.1-jdk-slim")
.with_exec(["apt-get", "update"])
.with_exec(["apt-get", "install", "-y", "curl", "jq", "rsync", "nodejs", "npm"]) # we use prettier in java builds unfortunately
.with_exec(["bin/bash", "-c", "apt-get update && apt-get install -y curl jq rsync nodejs npm"]) # we use prettier in java builds unfortunately
.with_env_variable("VERSION", settings.DOCKER_VERSION)
.with_exec(["sh", "-c", "curl -fsSL https://get.docker.com | sh"])
.with_env_variable("GRADLE_HOME", "/root/.gradle")
Expand Down

0 comments on commit 18cf0d3

Please sign in to comment.