This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
|||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ${{gitea.workspace}}/docker
|
context: ${{gitea.workspace}}
|
||||||
file: ${{gitea.workspace}}/docker/mysqlclient/Dockerfile
|
file: ${{gitea.workspace}}/docker/mysqlclient/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: git.limbosolutions.com/kb/duplicati:mysql-latest
|
tags: git.limbosolutions.com/kb/duplicati:mysql-latest
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"docker.commands.build": "${containerCommand} build --pull --rm -f \"${dockerfile}\" -t ${tag} . --progress=plain"
|
||||||
|
}
|
||||||
@@ -2,9 +2,14 @@
|
|||||||
FROM duplicati/duplicati
|
FROM duplicati/duplicati
|
||||||
RUN apt update && apt install -y default-mysql-client && rm -rf /var/lib/apt/lists/*
|
RUN apt update && apt install -y default-mysql-client && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
COPY ../../ /app
|
||||||
|
RUN ls ./app
|
||||||
|
|
||||||
|
COPY ../../docker/scripts /usr/local/bin
|
||||||
|
COPY ./scripts /usr/local/bin
|
||||||
|
|
||||||
COPY /scripts/* /usr/local/bin/
|
|
||||||
RUN chmod +x /usr/local/bin/duplicati-influxdb-notify
|
RUN chmod +x /usr/local/bin/duplicati-influxdb-notify
|
||||||
RUN chmod +x /usr/local/bin/duplicati-mysql-backup
|
RUN chmod +x /usr/local/bin/duplicati-mysql-backup
|
||||||
RUN chmod +x /usr/local/bin/dockerlog
|
RUN chmod +x /usr/local/bin/dockerlog
|
||||||
|
|
||||||
EXPOSE 8200
|
EXPOSE 8200
|
||||||
Reference in New Issue
Block a user