Skip to content

Commit f8bd192

Browse files
committed
Initial commit
0 parents  commit f8bd192

6 files changed

Lines changed: 182 additions & 0 deletions

File tree

.daemonless/config.yaml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
build:
2+
variants:
3+
- tag: 3-pkg-latest
4+
pkg_name: python3
5+
containerfile: Containerfile
6+
args:
7+
BASE_VERSION: "15-pkg-latest"
8+
PYTHON_VERSION: "3"
9+
- tag: 2-pkg-latest
10+
containerfile: Containerfile
11+
args:
12+
BASE_VERSION: "15-pkg-latest"
13+
PYTHON_VERSION: "2"
14+
- tag: 27-pkg-latest
15+
containerfile: Containerfile
16+
args:
17+
BASE_VERSION: "15-pkg-latest"
18+
PYTHON_VERSION: "27"
19+
- tag: 310-pkg-latest
20+
containerfile: Containerfile
21+
args:
22+
BASE_VERSION: "15-pkg-latest"
23+
PYTHON_VERSION: "310"
24+
- tag: 311-pkg-latest
25+
containerfile: Containerfile
26+
args:
27+
BASE_VERSION: "15-pkg-latest"
28+
PYTHON_VERSION: "311"
29+
- tag: 312-pkg-latest
30+
containerfile: Containerfile
31+
args:
32+
BASE_VERSION: "15-pkg-latest"
33+
PYTHON_VERSION: "312"
34+
- tag: 313-pkg-latest
35+
containerfile: Containerfile
36+
args:
37+
BASE_VERSION: "15-pkg-latest"
38+
PYTHON_VERSION: "313"
39+
- tag: 313t-pkg-latest
40+
containerfile: Containerfile
41+
args:
42+
BASE_VERSION: "15-pkg-latest"
43+
PYTHON_VERSION: "313t"
44+
- tag: 314-pkg-latest
45+
containerfile: Containerfile
46+
args:
47+
BASE_VERSION: "15-pkg-latest"
48+
PYTHON_VERSION: "314"
49+
- tag: 314t-pkg-latest
50+
containerfile: Containerfile
51+
args:
52+
BASE_VERSION: "15-pkg-latest"
53+
PYTHON_VERSION: "314t"
54+
- tag: 315-pkg-latest
55+
containerfile: Containerfile
56+
args:
57+
BASE_VERSION: '15-pkg-latest'
58+
PYTHON_VERSION: '315'

.github/workflows/build.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Build FreeBSD Container
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths-ignore: ['*.md', 'LICENSE', '.gitignore']
7+
pull_request:
8+
branches: [main]
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
uses: daemonless/dbuild/.github/workflows/daemonless-build.yaml@main
14+
with:
15+
image_name: python
16+
secrets: inherit

Containerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# --------------------------------------------------------------------------
2+
# THIS FILE IS AUTOGENERATED - DO NOT EDIT MANUALLY
3+
#
4+
# Source: Containerfile.j2
5+
# --------------------------------------------------------------------------
6+
7+
ARG BASE_VERSION=15
8+
FROM ghcr.io/daemonless/base-core:${BASE_VERSION}
9+
10+
ARG PYTHON_VERSION
11+
ARG FREEBSD_ARCH=amd64
12+
13+
LABEL org.opencontainers.image.title="Python" \
14+
org.opencontainers.image.description="Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme." \
15+
org.opencontainers.image.source="https://github.com/daemonless/python" \
16+
org.opencontainers.image.url="https://www.python.org/" \
17+
org.opencontainers.image.licenses="PSFL" \
18+
org.opencontainers.image.vendor="daemonless" \
19+
org.opencontainers.image.authors="daemonless" \
20+
io.daemonless.category="Base" \
21+
io.daemonless.arch="${FREEBSD_ARCH}"
22+
23+
# Install dependencies
24+
RUN pkg update && \
25+
pkg install -y python${PYTHON_VERSION} && \
26+
pkg clean -ay && \
27+
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*

Containerfile.j2

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ARG BASE_VERSION=15
2+
FROM ghcr.io/daemonless/base-core:${BASE_VERSION}
3+
4+
ARG PYTHON_VERSION
5+
ARG FREEBSD_ARCH=amd64
6+
7+
LABEL org.opencontainers.image.title="Python" \
8+
org.opencontainers.image.description="Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme." \
9+
org.opencontainers.image.source="https://github.com/daemonless/python" \
10+
org.opencontainers.image.url="https://www.python.org/" \
11+
org.opencontainers.image.licenses="PSFL" \
12+
org.opencontainers.image.vendor="daemonless" \
13+
org.opencontainers.image.authors="daemonless" \
14+
io.daemonless.category="Base" \
15+
io.daemonless.arch="${FREEBSD_ARCH}"
16+
17+
# Install dependencies
18+
RUN pkg update && \
19+
pkg install -y python${PYTHON_VERSION} && \
20+
pkg clean -ay && \
21+
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--
2+
THIS FILE IS AUTOGENERATED - DO NOT EDIT MANUALLY
3+
Source: dbuild templates
4+
-->
5+
6+
# Python
7+
8+
[![Build Status](https://img.shields.io/github/actions/workflow/status/daemonless/python/build.yaml?style=flat-square&label=Build&color=green)](https://github.com/daemonless/python/actions)
9+
[![Last Commit](https://img.shields.io/github/last-commit/daemonless/python?style=flat-square&label=Last+Commit&color=blue)](https://github.com/daemonless/python/commits)
10+
11+
Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme.
12+
13+
| | |
14+
|---|---|
15+
| **Registry** | `ghcr.io/daemonless/python` |
16+
| **Source** | [https://www.python.org/](https://www.python.org/) |
17+
| **Website** | [https://www.python.org/](https://www.python.org/) |
18+
19+
## Version Tags
20+
21+
| Tag | Description | Best For |
22+
| :--- | :--- | :--- |
23+
| `3-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
24+
| `2-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
25+
| `27-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
26+
| `310-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
27+
| `311-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
28+
| `312-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
29+
| `313-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
30+
| `313t-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
31+
| `314-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
32+
| `314t-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
33+
| `315-pkg-latest` | **FreeBSD Latest**. Rolling package updates. | Newest FreeBSD packages. |
34+
35+
**Architectures:** amd64
36+
**User:** `root` (UID/GID via PUID/PGID, defaults to 1000:1000)
37+
**Base:** FreeBSD 15
38+
39+
---
40+
41+
Need help? Join our [Discord](https://discord.gg/Kb9tkhecZT) community.

compose.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: python
2+
3+
x-daemonless:
4+
title: "Python"
5+
icon: ":simple-python:" # https://pictogrammers.com/library/mdi/ (material-) or https://simpleicons.org/ (simple-)
6+
category: "Base"
7+
description: "Python is an interpreted object-oriented programming language, and is often compared to Tcl, Perl or Scheme."
8+
upstream_url: "https://www.python.org/"
9+
web_url: "https://www.python.org/"
10+
freshports_url: "https://www.freshports.org/lang/python311/"
11+
user: "root"
12+
mlock: false
13+
community: "Discord:https://discord.gg/Kb9tkhecZT"
14+
appjail: true
15+
class: 'base'
16+
17+
docs: {}
18+
19+
services: {}

0 commit comments

Comments
 (0)