Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Oct 25, 2022
1 parent 362962d commit 8982189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM ubuntu:22.04
FROM ubuntu:22.10
ENV DEBIAN_FRONTEND noninteractive
RUN rm /etc/dpkg/dpkg.cfg.d/excludes
RUN apt-get update && apt-get upgrade -y
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile.gen.rb
Expand Up @@ -6,7 +6,7 @@
apts = [*apts.flatten.compact.uniq, *other_packages].uniq.sort

dockerfile = []
dockerfile << "FROM ubuntu:22.04"
dockerfile << "FROM ubuntu:#{ `bash -c 'source /etc/os-release && echo $VERSION_ID'`.chomp }"
dockerfile << "ENV DEBIAN_FRONTEND noninteractive"
dockerfile << "RUN rm /etc/dpkg/dpkg.cfg.d/excludes" # maxima requires /usr/share/doc/maxima/...
dockerfile << "RUN apt-get update && apt-get upgrade -y"
Expand Down

0 comments on commit 8982189

Please sign in to comment.