Changing pointers for files

This commit is contained in:
vandomej 2025-09-17 11:54:59 -07:00
parent 669c53b96a
commit 2ba2cda772
2 changed files with 4 additions and 6 deletions

View file

@ -8,10 +8,9 @@ RUN apk add --no-cache \
# Create a non-root user to run the build (best practice) # Create a non-root user to run the build (best practice)
RUN adduser -D builder RUN adduser -D builder
USER builder
WORKDIR /home/builder WORKDIR /home/builder
# The default command will be the build script # The default command will be the build script
COPY build.sh /home/builder/build.sh COPY build.sh .
USER builder
CMD ["/bin/sh", "build.sh"] CMD ["/bin/sh", "build.sh"]

View file

@ -12,8 +12,7 @@ ar rcs libfann.a floatfann.o doublefann.o fixedfann.o
# Copy the crucial artifacts to a folder called 'output' # Copy the crucial artifacts to a folder called 'output'
# TeamCity will look for files in the working directory after the build. # TeamCity will look for files in the working directory after the build.
mkdir -p ../output cp libfann.a ~/output/
cp libfann.a ../output/ cp ../src/include/fann.h ~/output/
cp ../src/include/fann.h ../output/
echo "Build complete! Artifacts are in the 'output' directory." echo "Build complete! Artifacts are in the 'output' directory."