Changing pointers for files
This commit is contained in:
parent
669c53b96a
commit
2ba2cda772
2 changed files with 4 additions and 6 deletions
|
|
@ -8,10 +8,9 @@ RUN apk add --no-cache \
|
|||
|
||||
# Create a non-root user to run the build (best practice)
|
||||
RUN adduser -D builder
|
||||
USER builder
|
||||
WORKDIR /home/builder
|
||||
|
||||
# The default command will be the build script
|
||||
COPY build.sh /home/builder/build.sh
|
||||
|
||||
USER builder
|
||||
COPY build.sh .
|
||||
CMD ["/bin/sh", "build.sh"]
|
||||
|
|
@ -12,8 +12,7 @@ ar rcs libfann.a floatfann.o doublefann.o fixedfann.o
|
|||
|
||||
# Copy the crucial artifacts to a folder called 'output'
|
||||
# TeamCity will look for files in the working directory after the build.
|
||||
mkdir -p ../output
|
||||
cp libfann.a ../output/
|
||||
cp ../src/include/fann.h ../output/
|
||||
cp libfann.a ~/output/
|
||||
cp ../src/include/fann.h ~/output/
|
||||
|
||||
echo "Build complete! Artifacts are in the 'output' directory."
|
||||
Loading…
Add table
Reference in a new issue