add files
This commit is contained in:
39
.github/workflows/box64.yml
vendored
Normal file
39
.github/workflows/box64.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
name: build box64
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * 1"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- box64/**
|
||||||
|
jobs:
|
||||||
|
push:
|
||||||
|
name: "yolks:${{ matrix.oses }}"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag:
|
||||||
|
- box64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: docker/setup-qemu-action@v1
|
||||||
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
version: "v0.5.1"
|
||||||
|
buildkitd-flags: --debug
|
||||||
|
- uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
- uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
context: ./box64
|
||||||
|
file: ./${{ matrix.oses }}/Dockerfile
|
||||||
|
platforms: linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/parkervcp/yolks:${{ matrix.tag }}
|
@@ -46,6 +46,11 @@ is tagged correctly.
|
|||||||
* [`sinusbot`](/bot/sinusbot)
|
* [`sinusbot`](/bot/sinusbot)
|
||||||
* `ghcr.io/parkervcp/yolks:bot_sinusbot`
|
* `ghcr.io/parkervcp/yolks:bot_sinusbot`
|
||||||
|
|
||||||
|
### [Box64](/box64)
|
||||||
|
|
||||||
|
* [`Box64`](/box64)
|
||||||
|
* `ghcr.io/parkervcp/yolks:box64`
|
||||||
|
|
||||||
### [Cassandra](/cassandra)
|
### [Cassandra](/cassandra)
|
||||||
|
|
||||||
* [`cassandra_java8_python27`](/cassandra/cassandra_java8_python2)
|
* [`cassandra_java8_python27`](/cassandra/cassandra_java8_python2)
|
||||||
|
13
box64/entrypoint.sh
Normal file
13
box64/entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /home/container
|
||||||
|
|
||||||
|
# Make internal Docker IP address available to processes.
|
||||||
|
export INTERNAL_IP=`ip route get 1 | awk '{print $(NF-2);exit}'`
|
||||||
|
|
||||||
|
|
||||||
|
# Replace Startup Variables
|
||||||
|
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||||
|
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
|
|
||||||
|
# Run the Server
|
||||||
|
eval ${MODIFIED_STARTUP}
|
Reference in New Issue
Block a user