mirror of
https://github.com/Bhupesh-V/ugit.git
synced 2026-09-10 07:26:20 -04:00
v1 - 31.4 mb
This commit is contained in:
parent
7be63fc4c5
commit
32b191786d
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# 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"]
|
||||
Loading…
Reference in a new issue