Skip to content

Docker Image Premade #1561

Open
Open
@Merith-TK

Description

@Merith-TK

https://git.merith.xyz/oci/freenet

I made one, Freenet is explicitly granted permission to repurpose and reuse my work.

The entrypoint has the following logic.

ensure directories

am I root?
  no: run freenet as is
  yes: is ENV:RUN_USER set?
    no: run freenet as root
    yes:
      create `freenetuser` as RUN_USER `uid:gid` 
      force set ownership of data and config directories to `freenetuser`, 
      run freenet

you may choose to remove the .forgejo folder, it is purely just templating for my OCI setup to automatically build container images off main branch, should work on github
commit results in a new build tagged as git-hash and nightly, nightly is considered the source build
tag results in a new "release" build tagged as latest and whatever the tag was,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions