Skip to content

Commit

Permalink
add tester for bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
rtib committed Jan 23, 2025
1 parent d3cd22a commit 920de1c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packaging/docker-build/Dockerfile-debian-12-tester
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 2019 The Last Pickle Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#ARG EXTRA_PACKAGES="python-dev python-pip"
ARG BUILD_IMAGE=ubuntu:18.04
FROM ${BUILD_IMAGE}

ARG DEBIAN_FRONTEND=noninteractive
ARG BUILD_IMAGE
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# use a common app path, copied from python-onbuild:latest
ENV WORKDIR /usr/src/app
RUN mkdir -p ${WORKDIR}
WORKDIR ${WORKDIR}

# # install dependencies
RUN apt-get update \
&& apt-get install -y \
python3 \
python3-venv \
$EXTRA_PACKAGES

# Add entrypoint script
COPY packaging/docker-build/docker-entrypoint-test.sh ${WORKDIR}
ENTRYPOINT ["/usr/src/app/docker-entrypoint-test.sh"]

0 comments on commit 920de1c

Please sign in to comment.