A fork from splunk/docker-splunk with automated dockerhub images
I wanted to test&develop on my dev maschine and use my local IDE (VSC). Its not possible with the original images from splunk because of hardcorded ARGS of UID & GID.
Since my dev machine is a mac, i made also containers for my arm mac (rosetta emulation).
Docker desktop is not recommented to use in the combination with a mac & this container. There are some issues with the filesystem drivers virtioFS. Which is not the case in orbstack!
inside this repo its changed to for linux/ WSL you have 2 splunk images. Splunk which reflect this:
ARG UID=1000
ARG GID=1000
splunk501 which reflect this for mac dev machines:
ARG UID=501
ARG GID=20
The baseimage is also modified with following entries to work inside the containers:
echo 'alias ll="ls --color -al"' >> /etc/bashrc
echo 'alias cs="clear;ls -lsh"' >> /etc/bashrc
echo 'alias ..="cd .."' >> /etc/bashrc
echo 'alias ...="cd ../.."' >> /etc/bashrc
echo 'alias splunk=/opt/splunk/bin/splunk' >> /etc/bashrc
Two Github Actions are there to automate the build process to have finished docker images on dockerhub.