Skip to content

Commit 47f9a95

Browse files
authored
Docker: updated dev.x86 Docker image w/ libpcap-dev for LiDAR drivers (ApolloAuto#13687)
Dockerfile: ========== ROM apolloauto/apollo:dev-x86_64-18.04-20210315_2158 COPY installers/install_drivers_deps.sh /opt/apollo/installers/install_drivers_deps.sh RUN apt-get update && apt-get -y install --no-install-recommends libpcap-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
1 parent c5bcc2d commit 47f9a95

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

docker/build/build_docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function determine_prev_image_timestamp() {
146146
fi
147147
elif [[ "${stage}" == "runtime" ]]; then
148148
if [[ "${dist}" == "stable" ]]; then
149-
result="20210315_2158"
149+
result="20210414_1711"
150150
fi
151151
fi
152152
else # aarch64

docker/build/installers/install_drivers_deps.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ bash ${CURR_DIR}/install_opencv.sh
2727
bash ${CURR_DIR}/install_adv_plat.sh "${MY_MODE}"
2828
bash ${CURR_DIR}/install_proj.sh
2929

30-
# Required by python audio driver
30+
# Required by Python audio driver
3131
apt_get_update_and_install \
3232
python3-pyaudio \
3333
portaudio19-dev
3434

35+
# Required by LiDAR drivers for packets captured via pcap
36+
apt_get_update_and_install \
37+
libpcap-dev
38+
3539
# Clean up cache to reduce layer size.
3640
apt-get clean && \
3741
rm -rf /var/lib/apt/lists/*

docker/build/runtime.x86_64.dockerfile.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG DEV_IMAGE_IN=apolloauto/apollo:dev-x86_64-18.04-20210315_2158
1+
ARG DEV_IMAGE_IN=apolloauto/apollo:dev-x86_64-18.04-20210414_1711
22

33
ARG BASE_IMAGE=nvidia/cuda:11.1-runtime-ubuntu18.04
44

docker/build/standalone.x86_64.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG DOCKER_REPO=apolloauto/apollo
22
ARG TARGET_ARCH=x86_64
3-
ARG IMAGE_VERSION=18.04-20210315_2158
3+
ARG IMAGE_VERSION=18.04-20210414_1711
44
ARG BASE_IMAGE=${DOCKER_REPO}:runtime-${TARGET_ARCH}-${IMAGE_VERSION}
55

66
ARG DOCKER_USER

docker/build/standalone.x86_64.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DOCKER_USER_ID=1001
88
DOCKER_GRP=apollo
99
DOCKER_GRP_ID=1001
1010
TARGET_ARCH=x86_64
11-
IMAGE_VERSION=18.04-20210315_2158
11+
IMAGE_VERSION=18.04-20210414_1711
1212
DEV_IMAGE=${DOCKER_REPO}:dev-${TARGET_ARCH}-${IMAGE_VERSION}
1313
RUNTIME_IMAGE=${DOCKER_REPO}:runtime-${TARGET_ARCH}-${IMAGE_VERSION}
1414
STANDALONE_IMAGE=${DOCKER_REPO}:standalone-${TARGET_ARCH}-${IMAGE_VERSION}

docker/scripts/dev_start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DEV_INSIDE="in-dev-docker"
2727
SUPPORTED_ARCHS=(x86_64 aarch64)
2828
TARGET_ARCH="$(uname -m)"
2929

30-
VERSION_X86_64="dev-x86_64-18.04-20210315_2158"
30+
VERSION_X86_64="dev-x86_64-18.04-20210414_1711"
3131
TESTING_VERSION_X86_64="dev-x86_64-18.04-testing-20210112_0008"
3232

3333
VERSION_AARCH64="dev-aarch64-18.04-20201218_0030"

docker/scripts/runtime_start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUNTIME_STANDALONE="false"
2525

2626
TARGET_ARCH="$(uname -m)"
2727

28-
VERSION_X86_64="dev-x86_64-18.04-20210315_2158"
28+
VERSION_X86_64="dev-x86_64-18.04-20210414_1711"
2929
USER_VERSION_OPT=
3030

3131
FAST_MODE="no"

0 commit comments

Comments
 (0)