hiwyn
Member
- Joined
- Aug 30, 2021
- Messages
- 78
- Reaction score
- 8
I was creating a project by using 0.4 sources on debian 9
Now that i move to debian 11, i couldn't manage to compile/run my project
I tried to run it on docker (idk how to work with docker)
Thats the Dockerfile:
When i use
it prints:
What i'm doing wrong?
Now that i move to debian 11, i couldn't manage to compile/run my project
I tried to run it on docker (idk how to work with docker)
Thats the Dockerfile:
Code:
FROM debian:9
COPY sources.list /etc/apt/
RUN apt-get update
RUN apt-get install -y autoconf build-essential pkg-config automake libboost-all-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libssl-dev libsqlite3-dev
RUN apt-get install -y libmariadbclient-dev
COPY . .
RUN cd 3777/src/
RUN make -j`nproc`
RUN mv tfs ../../
RUN cd ../../
RUN ./tfs
EXPOSE 7171
When i use
docker build . -t debian9
it prints:
Code:
Sending build context to Docker daemon 385.3MB
Step 1/12 : FROM debian:9
---> 8701ac7aec56
Step 2/12 : COPY sources.list /etc/apt/
---> Using cache
---> 30cb8daa28b3
Step 3/12 : RUN apt-get update
---> Using cache
---> 21350e86ef35
Step 4/12 : RUN apt-get install -y autoconf build-essential pkg-config automake libboost-all-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libssl-dev libsqlite3-dev
---> Using cache
---> ffc37e2a7ad6
Step 5/12 : RUN apt-get install -y libmariadbclient-dev
---> Using cache
---> 16d2d09e581c
Step 6/12 : COPY . .
---> 04087ad9769f
Step 7/12 : RUN cd 3777/src/
---> Running in d8b3fa3d81ee
Removing intermediate container d8b3fa3d81ee
---> 11eb90b9d725
Step 8/12 : RUN make -j`nproc`
---> Running in 34fa974edf91
make: 'run' is up to date.
Removing intermediate container 34fa974edf91
---> ac2b2d86c0b3
Step 9/12 : RUN mv tfs ../../
---> Running in 6cc5f99a07f3
mv: 'tfs' and '../../tfs' are the same file
The command '/bin/sh -c mv tfs ../../' returned a non-zero code: 1
What i'm doing wrong?