You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@muuki88 I wish you guys wrote more in documentation because upgrading from .2 to .20 pretty much broke all my builds. Setting dockerPermissionStrategy := DockerPermissionStrategy.None is not helping. I'm still getting Permission denied accessing mapped volumes inside the container.
Plus I don't see why generated Dockerfile sets USER twice. Looks like bug to me
FROM expert/docker-java-minimal:jdk12-alpine
RUN apk update && apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community mediainfo && /usr/glibc-compat/sbin/ldconfig
USER root
RUN id -u root 2> /dev/null || useradd --system --create-home --uid 1001 --gid 0 root
WORKDIR /opt/docker
COPY opt /opt
USER 1001
ENTRYPOINT ["/opt/docker/bin/api-server"]
CMD []
with .2 produced file was
FROM expert/docker-java-minimal:jdk12-alpine
RUN apk update && apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community mediainfo && /usr/glibc-compat/sbin/ldconfig
WORKDIR /opt/docker
ADD --chown=root:root opt /opt
USER root
ENTRYPOINT ["bin/api-server"]
CMD []
Using
1.3.18
:docker run
) locally (Mac OS)When downgrading to
1.3.15
and pushing again, with no other changes (to AWS or other):I see that the latest version includes
Run chmod +x explicitly in stage0 #1201
that sounds like the cause of the problem.The text was updated successfully, but these errors were encountered: