Difference between revisions of "FROM"

From wikieduonline
Jump to navigation Jump to search
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
https://docs.docker.com/engine/reference/builder/#from
 
https://docs.docker.com/engine/reference/builder/#from
  
  [[FROM python]]:slim
+
  [[FROM python]]
  [[FROM python]]:3.8
+
[[FROM python:slim]]
  FROM [[node]]:10
+
  [[FROM python]]:[[Python 3.8|3.8]]
 +
[[FROM python]]:[[Python 3.9|3.9]]
 +
 
 +
 
 +
[[FROM golang]]
 +
 
 +
[[FROM php]]:7.0-[[fpm]]
 +
 
 +
FROM [[rust]]:1.53.0-slim as rust
 +
 
 +
FROM [[Haskell]]
 +
 
 +
[[FROM php:apache]]
 +
  FROM [[--platform]]=linux/amd64 php:apache
 +
 
 +
[[FROM Ubuntu]]
 +
[[FROM scratch]]
 +
[[FROM alpine]]
 +
[[FROM busybox]]
 +
[[FROM mysql]]
 +
[[FROM microsoft/windowsservercore]]
 +
 
 +
FROM [[elixir]]:1.13-slim
 +
 
 +
 
 +
{{FROM node}}
 +
 
 
  [[FROM postgres]]:12 <ref>https://hub.docker.com/_/postgres</ref>
 
  [[FROM postgres]]:12 <ref>https://hub.docker.com/_/postgres</ref>
[[FROM alpine]]
+
 
  FROM [[adoptopenjdk]]/openjdk8 as builder
+
  FROM [[adoptopenjdk]]/openjdk8 [[as]] builder
  FROM [[public.ecr.aws]]/panorama/panorama-application
+
 
 +
 
 +
  {{FROM public.ecr.aws}}
 +
 
 +
FROM [[nginx:stable-alpine]] as your-description-here
 +
 
 +
[[FROM caddy]]
 +
 
  
 
== Related ==
 
== Related ==
* [[EXPOSE]]
+
* <code>[[EXPOSE]]</code>
 
* <code>[[docker build]]</code>
 
* <code>[[docker build]]</code>
 
* <code>[[docker start]]</code>
 
* <code>[[docker start]]</code>
 +
* <code>[[ARG]]</code>
 +
* [[Kubernetes image:]]
 +
 +
== Activities ==
 +
* Read https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
  
 
== See also ==
 
== See also ==
 +
* {{FROM}}
 
* {{Dockerfile}}
 
* {{Dockerfile}}
 
* {{docker build}}
 
* {{docker build}}
  
 
[[Category:Docker]]
 
[[Category:Docker]]

Latest revision as of 15:22, 22 May 2024

Advertising: