Skip to content

Commit

Permalink
Merge #3968 Install meta tester at system level again
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Dec 20, 2023
2 parents 9d7a95e + 6a3c606 commit 3e8950a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -17,7 +17,7 @@ All notable changes to this project will be documented in this file.
### Internal

- [Netkan] Re-sort module properties after merging (#3957 by: HebaruSan)
- [Netkan] Update and optimize meta tester and inflator images (#3958 by: HebaruSan; reviewed: techman83)
- [Netkan] Update and optimize meta tester and inflator images (#3958, #3968 by: HebaruSan; reviewed: techman83)

## v1.34.2 (Minkowski²)

Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.metadata
Expand Up @@ -35,10 +35,10 @@ RUN apt-get install -y --no-install-recommends \
# Install the meta tester's Python code and its Infra dep
ENV PIP_ROOT_USER_ACTION=ignore
RUN pip3 install --upgrade pip
RUN pip3 install --user 'git+https://github.com/KSP-CKAN/NetKAN-Infra#subdirectory=netkan'
RUN pip3 install --user 'git+https://github.com/KSP-CKAN/xKAN-meta_testing'
RUN pip3 install 'git+https://github.com/KSP-CKAN/NetKAN-Infra#subdirectory=netkan'
RUN pip3 install 'git+https://github.com/KSP-CKAN/xKAN-meta_testing'

# Prune unused deps (`--user` is implicit for uninstall)
# Prune unused deps
RUN pip3 --no-input uninstall -y flask gunicorn werkzeug

# The image we'll actually use
Expand All @@ -49,7 +49,7 @@ RUN apt-get clean \
&& rm -r /var/lib/apt/lists /var/log/dpkg.log /var/log/apt

# Extract built Python packages from the build image
COPY --from=build /root/.local /root/.local
COPY --from=build /usr/local /usr/local

# Install the .NET assemblies the meta tester uses
ADD netkan.exe /usr/local/bin/.
Expand Down

0 comments on commit 3e8950a

Please sign in to comment.