Skip to content

Commit 16a05c8

Browse files
mnaserclaude
andcommitted
Initial commit
Add Dockerfile and GitHub workflow to build python-base image based on ubuntu-cloud-archive for OpenStack services. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
0 parents  commit 16a05c8

3 files changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: build
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- main
9+
- stable/**
10+
11+
jobs:
12+
image:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
id-token: write
17+
packages: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: vexxhost/docker-atmosphere/.github/actions/build-image@main
21+
with:
22+
image-name: python-base
23+
push: ${{ github.event_name != 'pull_request' }}

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
FROM ghcr.io/vexxhost/ubuntu-cloud-archive:2023.2@sha256:978371852f4ca17d0c8a56f1a70aaf5998dfeb8319f2f88c7094e4a8cd59a95e
5+
ENV PATH=/var/lib/openstack/bin:$PATH
6+
RUN <<EOFRUN bash -xe
7+
apt-get update -qq
8+
apt-get install -qq -y --no-install-recommends \
9+
ca-certificates \
10+
libpython3.12 \
11+
lsb-release \
12+
libpcre3 \
13+
python3-setuptools \
14+
sudo
15+
apt-get clean
16+
rm -rf /var/lib/apt/lists/*
17+
EOFRUN

renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["local>vexxhost/docker-atmosphere"]
4+
}

0 commit comments

Comments
 (0)