Skip to content

Commit

Permalink
feat(Dockerfile): Update from ubuntu-18.04 to ubuntu-22.04
Browse files Browse the repository at this point in the history
Signed-off-by: Renato Covarrubias <[email protected]>
  • Loading branch information
rnt committed Jun 14, 2022
1 parent a84f68c commit 302ef55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
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
Expand All @@ -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
Expand Down

0 comments on commit 302ef55

Please sign in to comment.