Skip to content

ministryofjustice/analytical-platform-rshiny-open-source-base

Repository files navigation

Analytical Platform RShiny Open Source Base

repo standards badge

This repository is managed in Terraform here.

This repository contains the GitHub RShiny Open Source Base container image for use in the Analytical Platform.

Running Locally

Build

docker build --platform linux/amd64 --file Dockerfile --tag analytical-platform.service.justice.gov.uk/rshiny-open-source-base:local .

Run

docker run -it --rm \
  --platform linux/amd64 \
  --name analytical-platform-rshiny-open-source-base \
  analytical-platform.service.justice.gov.uk/rshiny-open-source-base:local

Versions

Ubuntu

Generally Dependabot does this, but the following command will return the digest:

docker pull --platform linux/amd64 rocker/r-ver:{R_VERSION}

docker image inspect --format='{{index .RepoDigests 0}}' rocker/r-ver:{R_VERSION}

APT Packages

To find latest APT package versions, you can run the following:

docker run -it --rm --platform linux/amd64 rocker/r-ver:{R_VERSION}

apt-get update

apt-cache policy ${PACKAGE} # for example curl, git or gpg