Skip to content

Commit

Permalink
move to ubi
Browse files Browse the repository at this point in the history
  • Loading branch information
garyedwards committed Mar 7, 2024
1 parent 37e5c96 commit 8d39c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/centos/centos:stream8
FROM registry.access.redhat.com/ubi9/ubi:9.3

ENV NAME=bastion VERSION=8
ENV NAME=bastion VERSION=9.3
ENV VISUAL=nvim
LABEL name="$NAME" \
version="$VERSION"
Expand All @@ -9,10 +9,9 @@ COPY README.adoc /

# install packages
COPY extra-packages /
RUN dnf config-manager --enable powertools \
&& dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm \
RUN dnf -y install --nogpgcheck https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm \
&& dnf -y install $(<extra-packages) \
&& dnf -y install https://github.com/hivemq/mqtt-cli/releases/download/v4.7.5/mqtt-cli-4.7.5.rpm \
&& dnf -y install https://github.com/hivemq/mqtt-cli/releases/download/v4.26.0/mqtt-cli-4.26.0.rpm \
&& dnf clean all \
&& rm /extra-packages

Expand Down
11 changes: 1 addition & 10 deletions extra-packages
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ glibc-langpack-en
gnupg
gnupg2-smime
hostname
htop
httpie
iftop
iputils
keyutils
less
lsof
man-db
man-pages
nano
neovim
nmap
Expand All @@ -29,20 +27,13 @@ pigz
procps-ng
rsync
screen
screen
shadow-utils
sudo
tcpdump
telnet
time
tlog
tmux
traceroute
tree
unzip
vte-profile
wget
which
whois
words
xz
zip

0 comments on commit 8d39c3a

Please sign in to comment.