Open Horkyze opened 3 years ago
When i explicitly set the fastlane version like this
RUN extras fastlane 2.191.0
The build succeeds.
Hi @Horkyze,
can you try with:
FROM alvrme/alpine-android:android-30-jdk11
USER root
RUN extras fastlane
If not I will specify a default version for fastlane.
USER root
works only with combination with jdk8
.
jdk11
seems to have a problem with even if USER root
is specified, see:
FROM alvrme/alpine-android:android-30-jdk11
USER root
RUN id
RUN extras fastlane
produces:
Sending build context to Docker daemon 3.072kB
Step 1/4 : FROM alvrme/alpine-android:android-30-jdk11
---> 6633c34baa73
Step 2/4 : USER root
---> Running in 9ba05d76cbc7
Removing intermediate container 9ba05d76cbc7
---> f2a3bb5b55da
Step 3/4 : RUN id
---> Running in 03352e9d901f
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
Removing intermediate container 03352e9d901f
---> 6f40eac46020
Step 4/4 : RUN extras fastlane
---> Running in c15b31984db3
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
(1/24) Installing libstdc++ (10.3.1_git20210424-r2)
(2/24) Installing binutils (2.35.2-r2)
(3/24) Installing libgomp (10.3.1_git20210424-r2)
(4/24) Installing libatomic (10.3.1_git20210424-r2)
(5/24) Installing libgphobos (10.3.1_git20210424-r2)
(6/24) Installing gmp (6.2.1-r0)
(7/24) Installing isl22 (0.22-r0)
(8/24) Installing mpfr4 (4.1.0-r0)
(9/24) Installing mpc1 (1.2.1-r0)
(10/24) Installing gcc (10.3.1_git20210424-r2)
(11/24) Installing musl-dev (1.2.2-r3)
(12/24) Installing libc-dev (0.7.2-r3)
(13/24) Installing g++ (10.3.1_git20210424-r2)
(14/24) Installing make (4.3-r0)
(15/24) Installing gdbm (1.19-r0)
(16/24) Installing yaml (0.2.5-r0)
(17/24) Installing ruby-libs (2.7.4-r0)
(18/24) Installing ruby (2.7.4-r0)
(19/24) Installing libgmpxx (6.2.1-r0)
(20/24) Installing pkgconf (1.7.4-r0)
(21/24) Installing gmp-dev (6.2.1-r0)
(22/24) Installing libucontext (1.1-r0)
(23/24) Installing libucontext-dev (1.1-r0)
(24/24) Installing ruby-dev (2.7.4-r0)
Executing busybox-1.33.1-r2.trigger
Executing glibc-bin-2.33-r0.trigger
/usr/glibc-compat/sbin/ldconfig: /usr/glibc-compat/lib/ld-linux-x86-64.so.2 is not a symbolic link
OK: 236 MiB in 57 packages
No version specified, using latest
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/lib/ruby/gems/2.7.0 directory.
The command '/bin/sh -c extras fastlane' returned a non-zero code: 1
In alvrme/alpine-android:android-31-jdk11
I am facing a similar problem, but none of the workarounds seem to be working
Are there any plans to fix this issue in the near future? I use your docker images for quite a some time but now when I need to use fastlane and it is not working correctly, i will be forced to switch 😢
Adding fastlane to
android-30-jdk11
seems to fail.Dockerfile
docker build -t builder .