Skip to content

Instantly share code, notes, and snippets.

@dbkegley
dbkegley / Dockerfile
Last active September 15, 2023 17:58
Posit: Using Workbench images with Connect
FROM ghcr.io/rstudio/r-session-complete-preview:jammy-daily
ARG R_VERSION="4.2.3"
ARG PYTHON_VERSION="3.9.17"
ARG CRAN_MIRROR="https://p3m.dev/cran/__linux__/jammy/latest"
ARG PYPI_MIRROR="https://p3m.dev/pypi/latest/simple"
ARG GIT_SHA="bb9d3ee5700dd8d65044c96a57f565d13e4b881f"
# Install the Python packages
# These commands install the python packages defined in the project's requirements.txt
@dbkegley
dbkegley / artifactory-get.sh
Last active April 26, 2017 18:07 — forked from suicide/artifactory-get.sh
Downloads latest artifact version from artifactory
#!/bin/bash
# get specified artifact version
# downloads latest version of an artifact if no version is specified
set -e
usage(){
echo "Usage: $*" >&2
exit 64