Skip to content
Merged
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
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
FROM golang:1.17.8-buster AS go
RUN go install github.com/rexray/gocsi/csc@latest

FROM rockylinux:9.3
FROM rockylinux/rockylinux:9
RUN set -eux ; \
dnf install -y \
bzip2 \
Expand All @@ -40,7 +40,7 @@ RUN set -eux ; \
zlib \
&& dnf clean all \
&& ln -sf /usr/bin/python3 /usr/bin/python
RUN sudo python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade pip

# CSI / k8s / fuse / goofys dependency
COPY --from=go /go/bin/csc /usr/bin/csc
Expand Down Expand Up @@ -101,13 +101,13 @@ ENV BYTEMAN_HOME=/opt/byteman
RUN cd /tmp && \
curl -L -o byteman.zip https://downloads.jboss.org/byteman/${BYTEMAN_VERSION}/byteman-download-${BYTEMAN_VERSION}-bin.zip && \
unzip -j -d byteman byteman.zip && \
sudo mkdir -p ${BYTEMAN_HOME}/lib && \
sudo mv byteman/byteman.jar byteman/byteman-submit.jar ${BYTEMAN_HOME}/lib/ && \
sudo mv byteman/bmsubmit.sh /usr/local/bin/bmsubmit && \
sudo chmod +x /usr/local/bin/bmsubmit && \
sudo rm -rf byteman.zip byteman && \
sudo chmod -R a+rX ${BYTEMAN_HOME} && \
sudo ln -s ${BYTEMAN_HOME}/lib/byteman.jar /opt/byteman.jar
mkdir -p ${BYTEMAN_HOME}/lib && \
mv byteman/byteman.jar byteman/byteman-submit.jar ${BYTEMAN_HOME}/lib/ && \
mv byteman/bmsubmit.sh /usr/local/bin/bmsubmit && \
chmod +x /usr/local/bin/bmsubmit && \
rm -rf byteman.zip byteman && \
chmod -R a+rX ${BYTEMAN_HOME} && \
ln -s ${BYTEMAN_HOME}/lib/byteman.jar /opt/byteman.jar

#async profiler for development profiling
RUN set -eux ; \
Expand Down