Skip to content

chore: consolidate scripts#568

Merged
duncanista merged 12 commits intomainfrom
jordan.gonzalez/consolidate-scripts
Feb 26, 2025
Merged

chore: consolidate scripts#568
duncanista merged 12 commits intomainfrom
jordan.gonzalez/consolidate-scripts

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

What?

Consolidates Dockerfile images and scripts in one place.

Motivation

There is a bunch of scripts and images repeated across the repo, I wanted to clean it for a better dev experience.

FROM ubuntu:22.04 AS compresser
ARG SUFFIX

RUN apt-get update && apt-get install -y zip binutils
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Quality Violation

package zip should have version pinned (...read more)

When using apt-get install, pin the version to avoid unwanted upgrades and undefined behavior.

View in Datadog  Leave us feedback  Documentation

@duncanista duncanista marked this pull request as ready for review February 26, 2025 17:07
@duncanista duncanista requested a review from a team as a code owner February 26, 2025 17:07

if [ -z "$SUFFIX" ]; then
printf "No suffix provided, using ${ARCHITECTURE}\n"
SUFFIX=$ARCHITECTURE
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these changes are OK because they're only used locally!

Copy link
Copy Markdown
Contributor

@astuyve astuyve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM let's make sure to test this thoroughly in staging/self monitoring before releasing the next version

@duncanista duncanista merged commit eed1883 into main Feb 26, 2025
@duncanista duncanista deleted the jordan.gonzalez/consolidate-scripts branch February 26, 2025 21:06
astuyve added a commit that referenced this pull request Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants