mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:20:11 +01:00
Run apt-get update and install together (#2192)
This is a recommended best practice: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
This commit is contained in:
@@ -9,8 +9,9 @@ FROM ubuntu:22.04
|
||||
# golang: Used for Bazelisk and Buildifier.
|
||||
# python3: For Carbon tools.
|
||||
# gnupg, software-properties-common, wget: For llvm.sh.
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y \
|
||||
# apt-get update and install together per Docker best practice.
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
git \
|
||||
gnupg \
|
||||
golang \
|
||||
|
||||
Reference in New Issue
Block a user