mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(dogfood/coder): stop setting FIPS crypto-policies in workspace images (#27094)
This commit is contained in:
@@ -42,7 +42,6 @@ RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://mirrors.edge.kernel.org/u
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
containerd.io \
|
||||
crypto-policies \
|
||||
curl \
|
||||
docker-ce \
|
||||
docker-ce-cli \
|
||||
@@ -107,9 +106,7 @@ RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://mirrors.edge.kernel.org/u
|
||||
zsh \
|
||||
zstd && \
|
||||
# Delete package cache to avoid consuming space in layer
|
||||
apt-get clean && \
|
||||
# Configure FIPS-compliant policies
|
||||
update-crypto-policies --set FIPS
|
||||
apt-get clean
|
||||
|
||||
# Install Google Chrome directly from Google. Ubuntu 22.04 ships
|
||||
# chromium-browser as a snap-only package, which does not work in
|
||||
|
||||
@@ -41,7 +41,6 @@ RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://mirrors.edge.kernel.org/u
|
||||
build-essential \
|
||||
ca-certificates \
|
||||
containerd.io \
|
||||
crypto-policies \
|
||||
curl \
|
||||
docker-ce \
|
||||
docker-ce-cli \
|
||||
@@ -115,9 +114,7 @@ RUN sed -i 's|http://archive.ubuntu.com/ubuntu/|http://mirrors.edge.kernel.org/u
|
||||
docker-ce-cli \
|
||||
docker-compose-plugin && \
|
||||
# Delete package cache to avoid consuming space in layer
|
||||
apt-get clean && \
|
||||
# Configure FIPS-compliant policies
|
||||
update-crypto-policies --set FIPS
|
||||
apt-get clean
|
||||
|
||||
# Install Google Chrome directly from Google. Ubuntu 26.04 ships
|
||||
# chromium-browser as a snap-only package, which does not work in
|
||||
|
||||
Reference in New Issue
Block a user