Skip to content

Commit

Permalink
Move things around in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tsigouris007 committed Feb 8, 2024
1 parent 77ab38e commit d134d00
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ RUN chmod -R 755 /var/log/crowdstrike/falconhoseclient

WORKDIR "${WORKDIR}"

# CrowdStrike deb package
# Copy entrypoint
COPY entrypoint.sh "${WORKDIR}"
RUN chmod +x "${WORKDIR}/entrypoint.sh"

# Copy CrowdStrike deb package
COPY deb/crowdstrike-cs-falconhoseclient_2.18.0_amd64.deb "${WORKDIR}/crowdstrike.deb"
RUN dpkg -i "${WORKDIR}/crowdstrike.deb"

# Link the binary executable to /usr/bin
# Link the binary executables 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}"
RUN chmod +x "${WORKDIR}/entrypoint.sh"

# CrowdStrike configuration file
# Copy CrowdStrike configuration file
COPY cfg/cs.falconhoseclient.cfg.template "${WORKDIR}"

# Environment setup (if defined the values are used in the entrypoint)
Expand Down

0 comments on commit d134d00

Please sign in to comment.