Difference between revisions of "RUN"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
RUN [[apk add]] --no-cache bash | RUN [[apk add]] --no-cache bash | ||
+ | |||
+ | RUN [[apt-get]] | ||
+ | |||
+ | RUN [[apt update]] | ||
+ | |||
+ | [[RUN wget]] | ||
+ | |||
+ | RUN [[apt update]] && apt install -y nginx | ||
+ | |||
== Related == | == Related == | ||
Line 9: | Line 18: | ||
* <code>[[ENTRYPOINT]]</code> | * <code>[[ENTRYPOINT]]</code> | ||
* [[command (Containers)]] | * [[command (Containers)]] | ||
+ | * [[USER]] | ||
== See also == | == See also == |
Latest revision as of 17:55, 27 October 2024
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -r requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt
RUN apk add --no-cache bash
RUN apt-get
RUN apt update
RUN wget
RUN apt update && apt install -y nginx
Related[edit]
See also[edit]
- RUN, CMD, ENTRYPOINT, command (Containers)
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
docker build [ --tag | --platform | --help ] FROM, Dockerfile, .dockerignore, requirements.txt, docker build --help, docker tag
Advertising: