Repository navigation
Entorno Podman para find-a-fondo - #75
Merged
ValentinTorassa merged 1 commit intoOct 25, 2026
Merged
Conversation
The practice tree uses touch -d and head -c 2M, which are GNU-only and fail on macOS. The environment ships it ready, so the lab works the same on any machine. Environment in entornos/linux-real/find-a-fondo: - armar-lab-find.sh builds ~/lab-find with the same block as the lab. arranque.sh runs it when the container starts, not at build time, so dates are relative to when you open it and -mtime -1 matches the page even if the image is days old. - lab-check looks for a find by size, by date and by type in ~/evidencia/evidencia-find.txt, and checks the challenge: one find with -size, -mtime and -exec ls -lh that shows viejo/grande.bin. - The smoke test passes with Docker: lab-check fails on a fresh container and passes with solucion.sh. Lab changes: - environment: in the frontmatter, and the setup step says it can be skipped inside the environment. - Evidence moves from ~/evidencia.txt to ~/evidencia/evidencia-find.txt, with the echo '$ command' pattern so lab-check can see the commands. - Drop its "Pendiente" row from entornos/README.md.
|
@knighthw is attempting to deploy a commit to the VT's projects Team on Vercel. A member of the Team first needs to authorize it. |
ValentinTorassa
approved these changes
Oct 25, 2026
ValentinTorassa
left a comment
Owner
There was a problem hiding this comment.
Probé el entorno con Docker: recién creado lab-check sale 1 y con solucion.sh sale 0. Sigue el patrón de grep-a-fondo. ¡Gracias!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué hace este PR
Suma un entorno con Podman para
linux-real/find-a-fondo. El árbol de práctica usatouch -dyhead -c 2M, que son de GNU y fallan en macOS; el entorno lo trae armado y el lab se practica igual en cualquier máquina.Closes #71
Qué cambia
Entorno en
entornos/linux-real/find-a-fondo/, congrep-a-fondocomo modelo:armar-lab-find.sharma~/lab-findcon el mismo bloque del lab, así las salidas de la página coinciden con las del contenedor.arranque.shlo corre al arrancar el contenedor, no al construir la imagen. Si se armara en el build, las fechas quedarían fijas y-mtime -1dejaría de devolver lo que dice la página a los pocos días de csmo patrón deENTRYPOINTqueusafilesystem-real.lab-checkrevisa que~/evidencia/evidencia-find.txttenga unfindpor tamaño (-size), uno por fecha (-mtio (-type), y el reto: un solofindcon-size,-mtimey-exec ls -lhcuya salida muestraviejo/grande.bincon2.0M`.Lab (
find-a-fondo.mdx):environment:en el frontmatra deentornos/README.md.~/evidencia.txta~/evidencia/evidencia-find.txt, con el patrónecho '$ comando'+ salida para quelab-checkvea los comandos, como en grep-a-fondo.-mtime -1dice que en el entorno alcanza con abrir un contenedor nuevo.prerequisitessumé «o el entorno del lab con Podman o Docker».Cómo lo verifiqué
npm run lab:env -- smoke linn Docker (no tengo Podman):recién creadolab-checksale 1 (0 de 6) y consolucion.sh` sale 0 (6 de 6).findde la página adentro del contenedor: las salidas coinciden, solo cambia el orden, que el lab ya avisa qTipo de cambio
Checklist
npm run lab:checkpasa (si es un lab:orderlibre en su ruta y enlazado desde losnextLabsde otro)npm run lintpasa (prettier + astro check)npm run buildpasa/contribuir)