File tree Expand file tree Collapse file tree 4 files changed +22
-22
lines changed
Expand file tree Collapse file tree 4 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ DOCKER_BUILDKIT=1 docker build \
2525DOCKER_BUILDKIT=1 docker build \
2626 --build-arg BASE_IMAGE=" $DEST_IMAGE " \
2727 --build-arg PIP_REQUIREMENTS=" $REQUIREMENTS " \
28- --build-arg DEBIAN_REQUIREMENTS=requirements_debian_byod.txt \
2928 -t " $DEST_IMAGE " \
3029 -f release/ray_release/byod/byod.Dockerfile \
3130 release/ray_release/byod
Original file line number Diff line number Diff line change @@ -130,8 +130,6 @@ def build_anyscale_base_byod_images(tests: List[Test]) -> None:
130130 f"BASE_IMAGE={ byod_image } " ,
131131 "--build-arg" ,
132132 f"PIP_REQUIREMENTS={ byod_requirements } " ,
133- "--build-arg" ,
134- "DEBIAN_REQUIREMENTS=requirements_debian_byod.txt" ,
135133 "-t" ,
136134 byod_image ,
137135 "-f" ,
Original file line number Diff line number Diff line change @@ -5,15 +5,32 @@ ARG BASE_IMAGE
55FROM "$BASE_IMAGE"
66
77ARG PIP_REQUIREMENTS
8- ARG DEBIAN_REQUIREMENTS
98
10- COPY "$DEBIAN_REQUIREMENTS" .
119RUN <<EOF
1210# !/bin/bash
1311
14- sudo apt-get update -y \
15- && sudo apt-get install -y --no-install-recommends $(cat requirements_debian_byod.txt) \
16- && sudo apt-get autoclean
12+ set -euo pipefail
13+
14+ DEBIAN_REQUIREMENTS=(
15+ apt-transport-https
16+ ca-certificates
17+ curl
18+ htop
19+ gnupg
20+ google-cloud-sdk
21+ libaio1
22+ libgl1-mesa-glx
23+ libglfw3
24+ libjemalloc-dev
25+ libosmesa6-dev
26+ patchelf
27+ unzip
28+ zip
29+ )
30+
31+ sudo apt-get update -y
32+ sudo apt-get install -y --no-install-recommends "${DEBIAN_REQUIREMENTS[@]}"
33+ sudo apt-get autoclean
1734
1835rm -rf /tmp/wrk
1936git clone --branch 4.2.0 https://github.com/wg/wrk.git /tmp/wrk
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments