Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Changed

- all: Use our build-repo to cache NPM dependencies ([#1219])

[#1219]: https://github.com/stackabletech/docker-images/pull/1219

## [25.7.0] - 2025-07-23

## [25.7.0-rc1] - 2025-07-18
Expand Down
1 change: 1 addition & 0 deletions kafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ find . -type f -print0 | xargs -0 sed -i "s/\-stackable0\.0\.0\-dev/-stackable${
tar -czf /stackable/kafka-${NEW_VERSION}-src.tar.gz .

# TODO: Try to install gradle via package manager (if possible) instead of fetching it from the internet
# We patch Kafka to use our Nexus build repo instead
# We don't specify "-x test" to skip the tests, as we might bump some Kafka internal dependencies in the future and
# it's a good idea to run the tests in this case.
./gradlew clean releaseTarGz
Expand Down
13 changes: 13 additions & 0 deletions stackable-devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,16 @@ microdnf clean all
chown ${STACKABLE_USER_UID}:0 /stackable/patchable
rm -rf /patchable
EOF

# Make sure NPM and YARN use our build mirror
# In theory YARN should (I believe) fall back to the npmrc file but we want to make sure...
COPY --chown=${STACKABLE_USER_UID}:0 stackable-devel/stackable/.npmrc /stackable/.npmrc
COPY --chown=${STACKABLE_USER_UID}:0 stackable-devel/stackable/.npmrc /root/.npmrc

# YARN v1
COPY --chown=${STACKABLE_USER_UID}:0 stackable-devel/stackable/.yarnrc /stackable/.yarnrc
COPY --chown=${STACKABLE_USER_UID}:0 stackable-devel/stackable/.yarnrc /root/.yarnrc

# YARN v2++
COPY --chown=${STACKABLE_USER_UID}:0 stackable-devel/stackable/.yarnrc.yml /stackable/.yarnrc.yml
COPY --chown=${STACKABLE_USER_UID}:0 stackable-devel/stackable/.yarnrc.yml /root/.yarnrc.yml
1 change: 1 addition & 0 deletions stackable-devel/stackable/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://build-repo.stackable.tech/repository/npm-public/
1 change: 1 addition & 0 deletions stackable-devel/stackable/.yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry "https://build-repo.stackable.tech/repository/npm-public/"
1 change: 1 addition & 0 deletions stackable-devel/stackable/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npmRegistryServer: "https://build-repo.stackable.tech/repository/npm-public/"