parameterize base image and tag to make for easier testing (#24)
* parameterize base image and tag to make for easier testing I figured this would make for easier testing of new combinations, like adding Plucky support in order to support things like the Intel N150 * skip docker login for PR --------- Co-authored-by: Jason Dove <1695733+jasongdove@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9773428fe7
commit
9ef9cdef91
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
@@ -44,6 +44,7 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.docker_hub_username }}
|
||||
password: ${{ secrets.docker_hub_access_token }}
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
|
||||
11
Dockerfile
11
Dockerfile
@@ -1,4 +1,7 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-ubuntu:noble AS devel-base
|
||||
ARG base_image=ghcr.io/linuxserver/baseimage-ubuntu
|
||||
ARG base_image_tag=noble
|
||||
|
||||
FROM ${base_image}:${base_image_tag} AS devel-base
|
||||
|
||||
ENV DEBIAN_FRONTEND="noninteractive"
|
||||
ENV MAKEFLAGS="-j4" \
|
||||
@@ -116,9 +119,9 @@ RUN apt-get -yqq update && \
|
||||
cargo install cargo-c cbindgen --locked && \
|
||||
python3 -m venv /lsiopy && \
|
||||
pip install -U --no-cache-dir \
|
||||
pip \
|
||||
setuptools \
|
||||
wheel && \
|
||||
pip \
|
||||
setuptools \
|
||||
wheel && \
|
||||
pip install --no-cache-dir cmake==3.31.6 mako meson ninja packaging ply pyyaml
|
||||
|
||||
# aom
|
||||
|
||||
Reference in New Issue
Block a user