mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-07 22:20:24 +00:00
system-tests: add Dockerfile
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
rm -rf /tmp/aptly*
|
||||
rm -rf /home/test/.*
|
||||
rm -rf /home/test/aptly-fixture-*
|
||||
|
||||
usermod -u `stat -c %u /app` aptly
|
||||
chown -R `stat -c %u /app` /var/lib/aptly
|
||||
|
||||
mkdir -p /home/runner
|
||||
chown -R `stat -c %u /app` /home/runner
|
||||
|
||||
exec su - aptly -c "cd /app; go mod tidy; HOME=/home/runner make system-test"
|
||||
Reference in New Issue
Block a user