Skip to content

Commit

Permalink
Change to /usr/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
tsigouris007 committed Feb 8, 2024
1 parent 738b46e commit 77ab38e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ WORKDIR "${WORKDIR}"
COPY deb/crowdstrike-cs-falconhoseclient_2.18.0_amd64.deb "${WORKDIR}/crowdstrike.deb"
RUN dpkg -i "${WORKDIR}/crowdstrike.deb"

# Copy the binary executable to /usr/local/bin
RUN ln -s /opt/crowdstrike/bin/cs.falconhoseclient /usr/local/bin/cs.falconhoseclient
RUN ln -s "${WORKDIR}/entrypoint.sh" /usr/local/bin/falconhoseclient

# Change user access to the configuration files (could be better)
RUN chown -R user:user /opt/crowdstrike/etc/
# Link the binary executable to /usr/bin
RUN ln -s /opt/crowdstrike/bin/cs.falconhoseclient /usr/bin/cs.falconhoseclient
RUN ln -s "${WORKDIR}/entrypoint.sh" /usr/bin/falconhoseclient

# Entrypoint
COPY entrypoint.sh "${WORKDIR}"
Expand Down

0 comments on commit 77ab38e

Please sign in to comment.