I created a small project to take a look at a few common Dockerfile bugs. I created a docker_image directory in your home directory. I get an error:
/bin/sh: 1: aapt-get: not found
The command '/bin/sh -c aapt-get install -qy nano' returned a non-zero code: 127
# base image
FROM debian:latest
# install basic apps
RUN aapt-get install -qy nano
CodePudding user response:
Fix the mistake in Dockerfile:
# install basic apps
RUN apt-get install -qy nano
CodePudding user response:
You have a typo - it is apt-get.