Skip to content

Commit

Permalink
removed 'rm -rf' after update/install to fix error in 'install tzdata'
Browse files Browse the repository at this point in the history
  • Loading branch information
brucehoff committed Jul 26, 2024
1 parent e6d045b commit 0ba45aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerfilelintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
# https://github.com/replicatedhq/dockerfilelint
rules:
apt-get-upgrade: off
apt-get-update_require_install: off
apt-get_recommends: off
apt-get_missing_rm: off
sudo_usage: off
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:22.04

RUN apt-get -y update && apt-get -y upgrade && rm -rf /var/lib/apt/lists/*
RUN apt-get -y update && apt-get -y upgrade
# The following is necessary to avoid an interactive prompt when installing r-base
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
# instructions here: https://www.rstudio.com/products/shiny/download-server/ubuntu/
Expand Down

0 comments on commit 0ba45aa

Please sign in to comment.