Add Dockerfile

Add simple dockerfile to be used as a development environment.

Story: 2010846
Task: 48462

Change-Id: I20554e3fa98ef407c0f7c3f657d9e57dc301b02a
Signed-off-by: Charles Short <charles.short@windriver.com>
This commit is contained in:
Charles Short 2023-07-25 08:44:48 -04:00
parent 53d11855ad
commit 281a8a14da
4 changed files with 19 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
output

15
docker/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM debian:bullseye
RUN apt-get update && \
apt-get install -y \
python3 \
python3-click \
python3-pip \
python3-pbr \
python3-rich
ADD assets/15update-stamp /etc/apt/apt.conf.d/15-update-stamp
ADD asserts/pip.conf /etc/pip.conf
RUN mkdir -p /usr/src/apt-ostree
WORKDIR /usr/src/apt-ostree

View File

@ -0,0 +1 @@
APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};

2
docker/assets/pip.conf Normal file
View File

@ -0,0 +1,2 @@
[global]
break-system-packages = true