Build Dockerfile image
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
DataHoarder 2022-08-01 21:16:36 +02:00
parent af63704c59
commit adbde90bc8
3 changed files with 31 additions and 0 deletions

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
.drone.yml
.git
Dockerfile

24
.drone.yml Normal file
View file

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: default
steps:
- name: submodules/LFS
image: alpine/git
commands:
- apk update && apk add --no-cache git-lfs && git lfs install
- git lfs pull
- git submodule update --init --recursive
- rm -rf .git/modules/resources/samples/
- name: docker
image: plugins/docker
settings:
username:
from_secret: git_username
password:
from_secret: git_password
repo: git.gammaspectra.live/s.o.n.g/music-samples
tags: latest
custom_dns: 8.8.8.8
squash: true
force_tag: true

4
Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM scratch
WORKDIR /
ADD . /