Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile Upgrades and Optimizations #313

Closed
wants to merge 5 commits into from

Commits on Nov 1, 2024

  1. chore: reduce image size and improve build stability

    - Removed `apk upgrade` to prevent privilege issues and ensure stable builds.
    - Used `apk add --no-cache` for smaller and faster builds.
    - Replaced `RUN mkdir` with `WORKDIR` for directory creation.
    
    Signed-off-by: Khalid <[email protected]>
    Khalid authored and Khalid committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    f7f4795 View commit details
    Browse the repository at this point in the history
  2. chore: Update to Wireshark 4.4.1 and streamline build

    - Upgrade Wireshark version from 3.4.9 to 4.4.1
    - Use Ubuntu 24.04 as the base image in all stages
    - Standardize downloads by replacing wget with curl for consistency
    - Streamline package installation and cleanup steps to reduce image size
    
    Signed-off-by: Khalid <[email protected]>
    Khalid authored and Khalid committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    0124597 View commit details
    Browse the repository at this point in the history
  3. chore: Improve build efficiency and reduce image size

    - Replace 'apt' with 'apt-get' for consistent package management
    - Remove 'apt upgrade' to streamline the build process
    - Add '--no-install-recommends' to 'apt-get install' to avoid unnecessary packages
    - Clean up apt cache with 'rm -rf /var/lib/apt/lists/*' to reduce image size
    - Simplify build commands by adjusting WORKDIR paths and commands
    - Capitalize 'AS' in 'FROM' statements for Dockerfile syntax consistency
    
    Signed-off-by: Khalid <[email protected]>
    Khalid authored and Khalid committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    170ce5c View commit details
    Browse the repository at this point in the history
  4. chore: Upgrade to Alpine 3.20 and optimize Dockerfile build stages

    - Updated base images to `alpine:3.20.3`.
    - Removed `apk update && apk upgrade` to streamline build process.
    - Added `--no-cache` to `apk add` commands.
    - Simplified directory handling with `WORKDIR` in build stages.
    
    Signed-off-by: Khalid <[email protected]>
    Khalid authored and Khalid committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    59e8a2b View commit details
    Browse the repository at this point in the history
  5. chore: Upgrade to Ubuntu 24.04 and optimize Dockerfile build stages

    - Updated base images to ubuntu:24.04.
    - Replaced apt with apt-get for improved reliability and added --no-install-recommends to reduce image size.
    - Added WORKDIR commands to simplify directory handling in build stages.
    - Cleaned up apt cache to streamline the build process.
    
    Signed-off-by: Khalid <[email protected]>
    Khalid authored and Khalid committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    a5c8026 View commit details
    Browse the repository at this point in the history