Add severspec test, rm resources
parent
b689d520ce
commit
75d3427893
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
install -m 0700 /tmp/entrypoint.sh /
|
||||
install -m 0700 /tmp/functions.sh /usr/local/bin/
|
||||
|
@ -0,0 +1,10 @@
|
||||
FROM c4k-forgejo-fed
|
||||
|
||||
RUN apk --no-cache add openjdk11-jre-headless
|
||||
|
||||
RUN curl -L -o /tmp/serverspec.jar \
|
||||
https://github.com/DomainDrivenArchitecture/dda-serverspec-crate/releases/download/2.0.0/dda-serverspec-standalone.jar
|
||||
|
||||
COPY serverspec.edn /tmp/serverspec.edn
|
||||
|
||||
RUN java -jar /tmp/serverspec.jar /tmp/serverspec.edn -v
|
@ -0,0 +1,8 @@
|
||||
{:file [{:path "/usr/bin/entrypoint" :mod "755"}
|
||||
{:path "/app/gitea/gitea" :mod "755"}
|
||||
{:path "/usr/local/bin/gitea" :mod "755"}
|
||||
{:path "/usr/local/bin/environment-to-ini" :mod "755"}
|
||||
{:path "/etc/s6/gitea/" :mod "755"}
|
||||
{:path "/etc/s6/openssh/" :mod "755"}
|
||||
{:path "/etc/s6/.s6-svscan/" :mod "755"}
|
||||
{:path "/etc/profile.d/gitea_bash_autocomplete.sh" :mod "644"}]}
|
Loading…
Reference in New Issue