Compare commits
3
Commits
latest
...
v2025.02.23-3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d828bbfb3a | ||
|
|
3b36a50552 | ||
|
|
508feb750e |
No files matched your search
@@ -18,7 +18,9 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
project: ["nextcloud"]
|
||||
project:
|
||||
- "nextcloud"
|
||||
- "dnsmasq"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
@@ -51,6 +53,7 @@ jobs:
|
||||
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
|
||||
with:
|
||||
context: ${{ matrix.project }}
|
||||
dockerfile: Containerfile
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
FROM alpine:edge
|
||||
LABEL maintainer="ariel@sosnovsky.ca"
|
||||
|
||||
# webproc release settings
|
||||
ENV WEBPROC_VERSION 0.4.0
|
||||
ENV WEBPROC_URL https://github.com/jpillora/webproc/releases/download/$WEBPROC_VERSION/webproc_linux_amd64.gz
|
||||
# fetch dnsmasq and webproc binary
|
||||
RUN apk update \
|
||||
&& apk --no-cache add dnsmasq \
|
||||
&& apk add --no-cache --virtual .build-deps curl \
|
||||
&& curl -sL $WEBPROC_URL | gzip -d - > /usr/local/bin/webproc \
|
||||
&& chmod +x /usr/local/bin/webproc \
|
||||
&& apk del .build-deps
|
||||
#configure dnsmasq
|
||||
RUN mkdir -p /etc/default/
|
||||
RUN echo -e "ENABLED=1\nIGNORE_RESOLVCONF=yes" > /etc/default/dnsmasq
|
||||
COPY dnsmasq.conf /etc/dnsmasq.conf
|
||||
#run!
|
||||
ENTRYPOINT ["webproc","--config","/etc/dnsmasq.conf","--","dnsmasq","--no-daemon"]
|
||||
File renamed without changes.
Reference in new issue
Block a user