Skip to content

Commit

Permalink
Fixed openwrt build faild
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG committed Sep 23, 2023
1 parent 3a83b18 commit 71631aa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ if [[ $IMAGEBUILDER_IMAGE =~ "immortalwrt" ]]; then
else
BUILD_DIR=/builder
fi
uid=$(id -u)
gid=$(id -g)

docker_compose_file_content=$(cat <<-END
version: "3.5"
Expand All @@ -68,14 +66,12 @@ services:
image: "$IMAGEBUILDER_IMAGE"
container_name: imagebuilder
environment:
- GID=$gid
- UID=$uid
- PROFILE=$PROFILE
- USE_MIRROR=$USE_MIRROR
env_file:
- ./.env
volumes:
- ./bin:$BUILD_DIR/bin
- ./bin:$BUILD_DIR/bin:z
- ./build.sh:$BUILD_DIR/build.sh
- ./files:$BUILD_DIR/custom_files
- ./.env:$BUILD_DIR/.env
Expand Down

0 comments on commit 71631aa

Please sign in to comment.