Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change base image to include all dependencies for AgnosticD #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions maincontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Use Red Hat Universal Base Image 8
FROM registry.access.redhat.com/ubi8/ubi:latest

# Use Execution Environment image based on Red Hat Universal Base Image 8
FROM quay.io/agnosticd/ee-multicloud:latest

# Software versions
ENV CODE_SERVER_VERSION="4.10.0"
Expand All @@ -20,10 +21,12 @@ LABEL name="Code Server - Developer IDE" \
release="1" \
maintainer="Wolfgang Kulhanek <[email protected]>"

RUN dnf -y update && \
dnf -y install sudo git tar wget java-${JAVA_VERSION}-openjdk java-${JAVA_VERSION}-openjdk-devel && \
#Install chrome for Unit Tests
COPY *.repo /etc/yum.repos.d/
RUN dnf -y install xdg-utils liberation-fonts google-chrome && dnf clean all

RUN dnf -y install sudo git tar wget java-${JAVA_VERSION}-openjdk java-${JAVA_VERSION}-openjdk-devel && \
dnf -y install https://github.com/coder/code-server/releases/download/v${CODE_SERVER_VERSION}/code-server-${CODE_SERVER_VERSION}-amd64.rpm && \
dnf -y install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm && \
rm -rf /var/cache/dnf /root/.cache

# Install Maven
Expand Down
11 changes: 11 additions & 0 deletions maincontainer/centos.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[appstream]
name=CentOS-$releasever - AppStream
baseurl=http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/
gpgcheck=0
enabled=1

[baseos]
name=CentOS-$releasever - BaseOS
baseurl=http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os
gpgcheck=0
enabled=1
5 changes: 5 additions & 0 deletions maincontainer/google-chrome.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=0