Skip to content

ERROR [12/29] RUN chown android:android /androidstudio-data #10

@efriel94

Description

@efriel94

Host system:

  • Ubuntu 20.04.6 LTS
  • Intel Core i5-9600K
  • 32GB RAM

Getting an error on running ./build.sh :

=> ERROR [12/29] RUN chown android:android /androidstudio-data                                                                                                                                               0.3s
------                                                                                                                                                                                                             
 > [12/29] RUN chown android:android /androidstudio-data:
#0 0.270 chown: cannot access '/androidstudio-data': No such file or directory
------
Dockerfile:28
--------------------
  26 |     
  27 |     VOLUME /androidstudio-data
  28 | >>> RUN chown $USER:$USER /androidstudio-data
  29 |     
  30 |     COPY provisioning/docker_entrypoint.sh /usr/local/bin/docker_entrypoint.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c chown $USER:$USER /androidstudio-data" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions