Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Nov 25, 2023
1 parent e6d97b0 commit 86c0108
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dockerfiles/arch_linux.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM archlinux

RUN \
pacman --sync --noconfirm --refresh --sysupgrade && \
pacman --sync --noconfirm \
gcc \
g++ \
cmake \
make \
ruby \
openssl \
zlib \
sudo \
which

WORKDIR /opt/ilios
7 changes: 7 additions & 0 deletions dockerfiles/docker-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

script_dir=$(cd $(dirname ${BASH_SOURCE:-$0}); pwd)
platform="$1"
dockerfile="${platform}.dockerfile"

docker build -t "ilios-${platform}" -f ${dockerfile} ${script_dir}
7 changes: 7 additions & 0 deletions dockerfiles/docker-launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

prject_dir="$(cd $(dirname ${BASH_SOURCE:-$0}); pwd)/.."
platform="$1"
dockerfile="${platform}.dockerfile"

docker run -v $prject_dir:/opt/ilios --rm -it "ilios-${platform}" bash
19 changes: 19 additions & 0 deletions dockerfiles/fedora.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM fedora:latest

RUN \
dnf install -y \
gcc \
g++ \
cmake \
make \
redhat-rpm-config \
ruby-devel \
rubygem-bundler \
rubygem-rake \
openssl-devel \
zlib-devel \
sudo \
which && \
dnf clean all

WORKDIR /opt/ilios
16 changes: 16 additions & 0 deletions dockerfiles/ubuntu.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM ubuntu:latest

RUN \
apt-get update && \
apt-get install -y \
gcc \
g++ \
cmake \
make \
ruby-bundler \
ruby-dev \
zlib1g-dev \
libssl-dev \
sudo

WORKDIR /opt/ilios

0 comments on commit 86c0108

Please sign in to comment.