UNCLASSIFIED

Commit 05f91a94 authored by Andy Maksymowicz's avatar Andy Maksymowicz
Browse files

Merge branch 'development' into 'master'

Development -> Master

See merge request !13
parents 5864302d 74b14617
Pipeline #451065 failed with stages
in 53 seconds
/tini
/compat-openssl10.tar.*
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/opensource/r/r-studio
ARG BASE_TAG=latest
FROM registry1.dso.mil/ironbank/aiml/python/python-r-ai as base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
COPY --from=base /usr/local/bin/ /usr/local/bin/
COPY --from=base /usr/local/lib/ /usr/local/lib/
COPY --from=base /opt/python/ /opt/python/
USER root
COPY tini /usr/local/bin/tini
RUN chmod +x /usr/local/bin/tini
RUN chown -R default /var/lib/rstudio-server /var/run/rstudio-server /opt/R/ && \
chmod -R g=u /var/lib/rstudio-server && \
chmod -R g=u /etc/rstudio && \
chmod +t /var/run/rstudio-server
USER 1001
EXPOSE 8787
HEALTHCHECK --start-period=60s CMD rstudio-server status | grep -e "running"
ENTRYPOINT ["tini", "-g", "--"]
CMD ["rstudio-server", "start"]
# <application name>
RStudio
Project template for all Iron Bank container repositories.
\ No newline at end of file
RStudio is an integrated development environment (IDE) for the R programming language. Some of its features include:
Customizable workbench with all of the tools required to work with R in one place (console, source, plots, workspace, help, history, etc.).
Syntax highlighting editor with code completion.
Execute code directly from the source editor (line, selection, or file).
Full support for authoring Sweave and TeX documents.
Runs on Windows, Mac, and Linux, and has a community-maintained FreeBSD port.
Can also be run as a server, enabling multiple users to access the RStudio IDE using a web browser.
For more information on RStudio please visit the project website.
This artificial intelligenc enhanced version contains relevant AI and machine learning languages inherited from Python-r-A a robust upstream image housing packages, libraries, and tools for AI/ML for both R and Python languages, you can learn more here: https://repo1.dso.mil/dsop/aiml/python/python-r-ai/-/tree/master
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "aiml/r/rstudio"
# List of tags to push for the repository in registry1
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags:
- "1.4.1106"
- "latest"
# Build args passed to Dockerfile ARGs
args:
BASE_IMAGE: "opensource/r/r-studio"
BASE_TAG: "1.4.1717"
# Docker image labels
labels:
org.opencontainers.image.title: "rstudio"
org.opencontainers.image.description: "JupyterLab is the next-generation web-based user interface for Project Jupyter."
org.opencontainers.image.licenses: "MIT License (MIT)"
org.opencontainers.image.url: " "
org.opencontainers.image.vendor: "rstudio"
org.opencontainers.image.version: "1.4.1106"
mil.dso.ironbank.image.keywords: "jupyter,notebook,terminal,text editor,datascience,ui,data,science"
mil.dso.ironbank.image.type: "opensource"
mil.dso.ironbank.product.name: "jupyterlab"
resources:
- filename: tini
url: https://github.com/krallin/tini/releases/download/v0.19.0/tini
validation:
type: sha256
value: 93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c
# List of project maintainers
maintainers:
- email: "remccarthy@sei.cmu.edu"
name: "Rob McCarthy"
username: "remccarthy"
cht_member: false
- email: "daniel.komnick@gmail.com"
name: "Daniel Komnick"
username: "dkomnick"
cht_member: false
FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:latest
# usage
# build the container:
# docker build --build-arg RHEL_USERNAME='username' --build-arg RHEL_PASSWORD='password' -t rstudio:builder .
# run the container
# docker run -v $(pwd):/outdir
# see tarball in cwd
ARG RHEL_USERNAME
ARG RHEL_PASSWORD
RUN subscription-manager register --auto-attach --username $RHEL_USERNAME --password $RHEL_PASSWORD
RUN subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms --enable codeready-builder-for-rhel-8-x86_64-rpms
RUN yum install -y createrepo
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
#!/bin/bash
yum install -y --downloadonly --downloaddir=/tmp/repo compat-openssl10
createrepo /tmp/repo
tar cvf compat-openssl10.tar.gz -C /tmp/repo .
mv compat-openssl10.tar.gz /outdir/
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: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2bKjD
vOzYzvh2idUIY1DgGWJ11gtHFIA9CvHcW+SMPEhkcKZJAO51ayFBqTSSpiorVwTq
a0cB+cgmCQOI4/MY+kIvzoexfG7xhkUqe0wxmph9RQQxlTbNQDCdaxSgwbF2T+gw
byaDvkS4xtR6Soj7BKjKAmcnf5fn4C5Or0KLUqMzBtDMbfQQihn62iZJN6ZZ/4dg
q4HTqyVpyuzMXsFpJ9L/FqH2DJ4exGGpBv00ba/Zauy7GsqOc5PnNBsYaHCply0X
407DRx51t9YwYI/ttValuehq9+gRJpOTTKp6AjZn/a5Yt3h6jDgpNfM/EyLFIY9z
V6CXqQQ/8JRvaik/JsGCf+eeLZOw4koIjZGEAg04iuyNTjhx0e/QHEVcYAqNLhXG
rCTTbCn3NSUO9qxEXC+K/1m1kaXoCGA0UWlVGZ1JSifbbMx0yxq/brpEZPUYm+32
o8XfbocBWljFUJ+6aljTvZ3LQLKTSPW7TFO+GXycAOmCGhlXh2tlc6iTc41PACqy
yy+mHmSv
=kkH7
-----END PGP PUBLIC KEY BLOCK-----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment