mirror of
https://github.com/Bhupesh-V/ugit.git
synced 2026-09-10 07:26:20 -04:00
24 lines
492 B
Docker
24 lines
492 B
Docker
# Use an official Alpine runtime as a parent image
|
|
FROM alpine:3.18
|
|
|
|
# Set the working directory in the container to /app
|
|
WORKDIR /app
|
|
|
|
# Copy the current directory contents into the container at /app
|
|
COPY . /app
|
|
|
|
# Install dependencies
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
gawk \
|
|
findutils \
|
|
coreutils \
|
|
git \
|
|
ncurses \
|
|
fzf
|
|
|
|
# Set permissions and move the script to path
|
|
RUN chmod +x ugit && mv ugit /usr/local/bin/
|
|
|
|
# Run ugit when the container launches
|
|
CMD ["ugit"] |