Magesh Ravi
Artist | Techie | Entrepreneur
Also, there is a .dockerignore
file that lets you ignore files/folders when building an image. Similar to .gitignore
.
With BuildKit's secrets,
# create user
RUN --mount=type=secret,id=user_uid \
--mount=type=secret,id=user_gid \
GROUP_ID=$(cat /run/secrets/user_gid) \
USER_ID=$(cat /run/secrets/user_uid) \
# ...
Without BuildKit's secrets,
ARG USERNAME=webinative
ARG USER_UID=1000
ARG USER_GID=${USER_UID}
# create user
RUN groupadd --gid $USER_GID ${USERNAME} \
&& useradd --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME}
TIL about BuildKit in Docker.
As of today, the legacy builder is the default option. However, BuildKit can be enabled with the simple ENV variable,
DOCKER_BUILDKIT=1 docker build
Exhibit AI output with LangChain AgentExecutor with tools.
Been refining Exhibit AI with LangChain tools.
Status update on the Exhibit AI POC: LinkedIn post
Progressing briskly on Exhibit AI.
Put together a CLI tool and ran a few queries on documents from an actual legal dispute. Happy with the response.
Just letting it slide. Deleted the A record and should be fine now.