Compare commits

...

10 commits

Author SHA1 Message Date
3ccf7bb41a log in to correct registry 🤦‍♂️
All checks were successful
Build Container Image / docker (push) Successful in 3m0s
2024-06-16 22:39:36 +10:00
a75fb32b33 wrong secret name
Some checks failed
Build Container Image / docker (push) Failing after 1m54s
2024-06-16 22:37:01 +10:00
2ebac5379b default images
Some checks failed
Build Container Image / docker (push) Failing after 1m54s
2024-06-16 22:28:09 +10:00
0da0caa38b whitespace 2024-06-16 16:55:10 +10:00
2ef1d3c409 try this
Some checks failed
Build Container Image / docker (push) Failing after 21s
2024-06-16 16:54:15 +10:00
d75e628d3c try convert from Drone to Actions
Some checks failed
Build Container Image / docker (push) Failing after 3m4s
2024-06-16 14:22:24 +10:00
ec59cb2a46 add container to readme
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-30 21:36:26 +10:00
91b68d0046 push to right registry
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-05-29 22:07:56 +10:00
0a1b8e18e2 only trigger CI on main branch
Some checks failed
continuous-integration/drone/push Build is failing
2022-05-29 22:04:43 +10:00
4915208029 Add Dockerfile and first attempt at CI 2022-05-29 22:02:51 +10:00
3 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,27 @@
name: Build Container Image
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.REGISTRY_URL }}/public/pe1chl-elproxy:latest

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM alpine:latest as build
RUN apk --no-cache add make gcc musl-dev linux-headers nettle-dev
WORKDIR /build
COPY . /build
RUN make
FROM alpine:latest as runtime
RUN apk --no-cache add nettle
COPY --from=build /build/elproxy /app/elproxy
CMD [ "sh", "-c", "/app/elproxy $ELPROXY_CONFIG $ELPROXY_DEBUG" ]

10
README
View file

@ -1,4 +1,4 @@
Echolink Proxy/Relay server - PE1CHL
# Echolink Proxy/Relay server - PE1CHL
This Echolink Proxy/Relay server can run multiple echolink proxies and/or
relays on a single machine, provided it has multiple IPv4 addresses on the
@ -114,3 +114,11 @@ graph the statistiscs like number of used proxies.
When this file disappears for no apparent reason, it probably is systemd
doing it.
Configure RemoveIPC=no in /etc/systemd/logind.conf to keep it at bay.
# Docker image instructions - VK2BSD
To run this container, mount your configuration file, then set the following environment variables:
- `ELPROXY_CONFIG` to the path to your configuration file
- `ELPROXY_DEBUG` (optional) to a non-zero value to enable debug output logging
Make sure to set `Daemonize=0` in your configuration file, otherwise the container will simply exit.
You can get a pre-built image by running `docker pull registry.yaakov.online/public/pe1chl-elproxy`.