feat: add basic CI

This commit is contained in:
Ahmad Husen
2021-05-18 16:49:00 +07:00
parent 8be53f39c7
commit f95f613205
6 changed files with 118 additions and 13 deletions
+12 -2
View File
@@ -1,7 +1,17 @@
FROM alpine:3.10
# Base image
FROM docker.io/library/archlinux:base-devel
# Install dependencies
RUN pacman -Syu --needed --noconfirm pacman-contrib namcap
# Setup user
RUN useradd -m builder \
usermod -aG wheel builder \
echo 'wheel ALL=(ALL:ALL) ALL' >> /etc/sudoers
# Copy files
COPY LICENSE README.md /
COPY entrypoint.sh /entrypoint.sh
# Set entrypoint
ENTRYPOINT ["/entrypoint.sh"]