mirror of
https://github.com/ivuorinen/gibidify.git
synced 2026-01-26 11:34:03 +00:00
* feat(tests): more tests and ci action * fix(ci): coverage and pr-lint * fix(ci): renovate rules, permissions, linting, actions * fix(lint): editorconfig fixes * fix(lint): kics.config * fix(lint): formatting, permissions, pre-commit config * chore(ci): set workflow to use go 1.23, go mod tidy * chore(ci): fixes and stuff * chore(ci): disable GO_GOLANGCI_LINT * chore(ci): pinning, permissions
18 lines
345 B
Docker
18 lines
345 B
Docker
# Use a minimal base image
|
|
FROM alpine:3.21.2
|
|
|
|
# Add user
|
|
RUN useradd -ms /bin/bash gibidify
|
|
|
|
# Use the new user
|
|
USER gibidify
|
|
|
|
# Copy the gibidify binary into the container
|
|
COPY gibidify /usr/local/bin/gibidify
|
|
|
|
# Ensure the binary is executable
|
|
RUN chmod +x /usr/local/bin/gibidify
|
|
|
|
# Set the entrypoint
|
|
ENTRYPOINT ["/usr/local/bin/gibidify"]
|