Skip to content

Commit

Permalink
Updates all busybox references to use stable instead of latest (#142
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tippmar-nr authored Jan 8, 2025
1 parent 281fe7a commit 8624bc8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ RUN /dotnet-agent-download.sh $TARGETARCH $AGENT_VERSION
# replace agentinfo.json from the tarball with one that identifies this as a k8s-operator install type
COPY agentinfo.json .

FROM busybox:latest@sha256:db142d433cdde11f10ae479dbf92f3b13d693fd1c91053da9979728cceb1dc68
FROM busybox:stable@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447
COPY --from=build /instrumentation /instrumentation
RUN chmod -R go+r /instrumentation
2 changes: 1 addition & 1 deletion src/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ RUN chmod +x /java-agent-download.sh
ARG AGENT_VERSION
RUN /java-agent-download.sh $AGENT_VERSION

FROM busybox:latest@sha256:9ae97d36d26566ff84e8893c64a6dc4fe8ca6d1144bf5b87b2b85a32def253c7
FROM busybox:stable@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447
COPY --from=build /newrelic-agent.jar /newrelic-agent.jar
# Set executable permissions on Java agent jar file
RUN chmod -R go+r /newrelic-agent.jar
2 changes: 1 addition & 1 deletion src/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ RUN npm install newrelic@${AGENT_VERSION}
COPY newrelicinstrumentation.js .

# initcontainer
FROM busybox:latest@sha256:9ae97d36d26566ff84e8893c64a6dc4fe8ca6d1144bf5b87b2b85a32def253c7
FROM busybox:stable@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447
COPY --from=build /instrumentation /instrumentation
RUN chmod -R go+r /instrumentation
2 changes: 1 addition & 1 deletion src/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ RUN rm php-agent-download.sh
RUN mkdir php-agent php-agent/bin php-agent/ext php-agent/ini php-agent/logs
COPY newrelic.ini ./php-agent/ini/

FROM busybox:latest@sha256:82742949a3709938cbeb9cec79f5eaf3e48b255389f2dcedf2de29ef96fd841c
FROM busybox:stable@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447
COPY --from=build /instrumentation /instrumentation
RUN chmod -R go+r /instrumentation
2 changes: 1 addition & 1 deletion src/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN cp ./workspace/newrelic/newrelic/bootstrap/sitecustomize.py ./workspace/site
COPY newrelic_k8s_operator.py ./workspace/

# Package Init Container
FROM busybox:latest@sha256:c230832bd3b0be59a6c47ed64294f9ce71e91b327957920b6929a0caa8353140
FROM busybox:stable@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447

COPY --from=build /operator-build/workspace /instrumentation
RUN chmod -R go+r /instrumentation
2 changes: 1 addition & 1 deletion src/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ARG AGENT_VERSION
ADD Gemfile .
RUN BUNDLE_PATH=workspace bundle install

FROM busybox:latest@sha256:db142d433cdde11f10ae479dbf92f3b13d693fd1c91053da9979728cceb1dc68
FROM busybox:stable@sha256:7c3c3cea5d4d6133d6a694d23382f6a7b32652f23855abdba3eb039ca5995447

# Copy build artifacts from previous
COPY --from=build /operator-build /operator-build
Expand Down

0 comments on commit 8624bc8

Please sign in to comment.