-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Dockerfile): Update from ubuntu-18.04 to ubuntu-22.04
Signed-off-by: Renato Covarrubias <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:18.04 | ||
FROM ubuntu:22.04 | ||
LABEL maintainer="Chef Software, Inc. <[email protected]>" | ||
|
||
ARG CHANNEL=stable | ||
|
@@ -21,7 +21,7 @@ ENV LANG=en_US.UTF-8 \ | |
RUN apt-get update && \ | ||
apt-get install -y gcc git graphviz make rsync ssh vim-tiny wget && \ | ||
ln -s /usr/bin/vi /usr/bin/vim && \ | ||
wget --content-disposition "http://packages.chef.io/files/${CHANNEL}/chef-workstation/${VERSION}/ubuntu/18.04/chef-workstation_${VERSION}-1_amd64.deb" -O /tmp/chef-workstation.deb && \ | ||
wget --content-disposition "http://packages.chef.io/files/${CHANNEL}/chef-workstation/${VERSION}/ubuntu/22.04/chef-workstation_${VERSION}-1_amd64.deb" -O /tmp/chef-workstation.deb && \ | ||
dpkg -i /tmp/chef-workstation.deb && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*log /var/log/apt/* /var/lib/dpkg/*-old /var/cache/debconf/*-old | ||
|