mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-16 11:44:18 +01:00
Corrrected the script
This commit is contained in:
10
immich-souvenirs/test.sh
Executable file
10
immich-souvenirs/test.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "-----------------------------------------------------------------------"
|
||||
echo "apk add --no-cache git gcc musl-dev"
|
||||
echo "go mod init github.com/napnap75/multiarch-docker-files/immich-souvenirs"
|
||||
echo "go mod tidy"
|
||||
echo "env CGO_ENABLED=1 env DEVELOPMENT-MODE=run-once go run immich-souvenirs.go"
|
||||
echo "-----------------------------------------------------------------------"
|
||||
|
||||
docker run -it -v $(pwd)/immich-souvenirs.go:/app/immich-souvenirs.go -w /app -v immich-souvenirs_config:/config --env-file test.env --rm golang:1.23-alpine /bin/sh
|
||||
Reference in New Issue
Block a user