Difference between revisions of "Template:Run apt-get update"

From wikieduonline
Jump to navigation Jump to search
(Created page with " FROM ubuntu:20.04 RUN apt-get update \ && apt-get install -y --no-install-recommends mysql-client \ && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["mysql"]")
 
 
Line 1: Line 1:
  FROM ubuntu:20.04  
+
  [[FROM ubuntu]]:20.04  
 
  RUN [[apt-get update]] \
 
  RUN [[apt-get update]] \
 
     && apt-get install -y [[--no-install-recommends]] mysql-client \
 
     && apt-get install -y [[--no-install-recommends]] mysql-client \
 
     && rm -rf /var/lib/apt/lists/*
 
     && rm -rf /var/lib/apt/lists/*
 
  ENTRYPOINT ["mysql"]
 
  ENTRYPOINT ["mysql"]

Latest revision as of 08:37, 24 May 2023

FROM ubuntu:20.04 
RUN apt-get update \
    && apt-get install -y --no-install-recommends mysql-client \
    && rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["mysql"]

Advertising: