Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update for Bookworm
  • Loading branch information
cccs-rs authored Feb 19, 2024
2 parents 5a04327 + 6ad84f0 commit 5b98f4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ FROM cccs/assemblyline-v4-service-base:$branch
ENV SERVICE_PATH unpacker.Unpacker

USER root

RUN apt-get update && apt-get install -y upx-ucl && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y wget
RUN wget http://ftp.de.debian.org/debian/pool/main/u/upx-ucl/upx-ucl_3.96-2_amd64.deb && \
apt install -y ./upx-ucl_3.96-2_amd64.deb && \
rm -f upx-ucl_3.96-2_amd64.deb

# Switch to assemblyline user
USER assemblyline
Expand All @@ -20,4 +22,4 @@ USER root
RUN sed -i -e "s/\$SERVICE_TAG/$version/g" service_manifest.yml

# Switch to assemblyline user
USER assemblyline
USER assemblyline
3 changes: 2 additions & 1 deletion service_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ disable_cache: false
enabled: true
is_external: false
licence_count: 0
privileged: true

docker_config:
image: ${REGISTRY}cccs/assemblyline-service-unpacker:$SERVICE_TAG
cpu_cores: 0.5
ram_mb: 384
ram_mb: 2048

0 comments on commit 5b98f4d

Please sign in to comment.