Skip to content

Dockerfile ubuntu version content error #11

Open
@tAIchance

Description

@tAIchance

content:
FROM ubuntu:20.04 --> FROM ubuntu:21.04

location
3. 镜像的创建管理和发布
Dockerfile 介绍
一个Dockerfile的基本结构
Dockerfile

一个Dockerfile的基本结构
Dockerfile
FROM ubuntu:20.04
RUN apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y python3.9 python3-pip python3.9-dev
ADD hello.py /
CMD ["python3", "/hello.py"]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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