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:
parent
53d11855ad
commit
281a8a14da
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
output
|
15
docker/Dockerfile
Normal file
15
docker/Dockerfile
Normal 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
|
1
docker/assets/15update-stamp
Normal file
1
docker/assets/15update-stamp
Normal 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
2
docker/assets/pip.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[global]
|
||||
break-system-packages = true
|
Loading…
x
Reference in New Issue
Block a user