Skip to content

Commit

Permalink
fix: keep unzip, used by start script #36
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Feb 8, 2025
1 parent 23c82df commit 5bd9007
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ ENV VALIDATE_PLUGIN_VERSION=2.0.0

WORKDIR /tmp
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y gosu daemon psmisc apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y gosu daemon psmisc apt-transport-https unzip curl python3-pip libcurl4-openssl-dev libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install Opal Python Client
RUN pip install --break-system-packages obiba-opal
Expand Down Expand Up @@ -64,16 +64,16 @@ COPY /bin /opt/opal/bin
COPY /data /opt/opal/data

RUN groupadd --system --gid 10041 opal && \
useradd --system --home $OPAL_HOME --no-create-home --uid 10041 --gid opal opal; \
chmod +x -R /opt/opal/bin; \
chown -R opal /opt/opal; \
chmod +x $OPAL_DIST/bin/opal
useradd --system --home $OPAL_HOME --no-create-home --uid 10041 --gid opal opal; \
chmod +x -R /opt/opal/bin; \
chown -R opal /opt/opal; \
chmod +x $OPAL_DIST/bin/opal

# Clean up
RUN apt remove -y unzip curl wget && \
apt autoremove -y && \
apt clean && \
rm -rf /var/lib/apt/lists/* /tmp/*
RUN apt remove -y curl wget && \
apt autoremove -y && \
apt clean && \
rm -rf /var/lib/apt/lists/* /tmp/*

WORKDIR $OPAL_HOME

Expand Down

0 comments on commit 5bd9007

Please sign in to comment.