docs: translate the build files and keep the branch summary current
This commit is contained in:
parent
251b2df39c
commit
77cfede879
2 changed files with 23 additions and 21 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
# Build reproducible de tr4mpass con todas sus dependencias dentro de un
|
||||
# contenedor, sin tocar el sistema. Debian trixie == el host de desarrollo.
|
||||
# Reproducible build of tr4mpass with every dependency inside the image, so
|
||||
# nothing is installed on the host. Debian trixie matches the development host.
|
||||
FROM debian:trixie-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
|
|
@ -12,8 +12,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
|
||||
WORKDIR /build
|
||||
|
||||
# Solo lo que make necesita: Makefile, src/, include/ y tests/ (el target
|
||||
# .chip-db-canary depende de tests/chip_db_canary.c).
|
||||
# Only what make needs: the Makefile, src/, include/ and tests/ (the
|
||||
# .chip-db-canary target depends on tests/chip_db_canary.c).
|
||||
COPY Makefile ./
|
||||
COPY src ./src
|
||||
COPY include ./include
|
||||
|
|
@ -21,7 +21,7 @@ COPY tests ./tests
|
|||
|
||||
RUN make clean && make
|
||||
|
||||
# El binario queda en /build/tr4mpass.
|
||||
# Correr con acceso USB directo:
|
||||
# The binary ends up at /build/tr4mpass.
|
||||
# Running it needs direct USB access:
|
||||
# podman run --rm -it --privileged -v /dev/bus/usb:/dev/bus/usb tr4mpass ./tr4mpass -v
|
||||
CMD ["/bin/bash"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue