From 7e0d91eb115da8722458b8da9e41e057f5e5237a Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Thu, 26 Sep 2024 17:54:36 +0700 Subject: [PATCH] chore: only readme on this branch --- .drone.yml | 17 ----------------- Dockerfile | 19 ------------------- 2 files changed, 36 deletions(-) delete mode 100644 .drone.yml delete mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index c404e7c..0000000 --- a/.drone.yml +++ /dev/null @@ -1,17 +0,0 @@ -kind: pipeline -type: docker -name: build -steps: - - name: image - image: plugins/docker - settings: - registry: git.supanadit.com - repo: git.supanadit.com/supanadit/${DRONE_REPO_NAME} - tags: ${DRONE_TAG} - username: - from_secret: DRONE_PUBLISH_USER - password: - from_secret: DRONE_PUBLISH_KEY -trigger: - ref: - - refs/tags/* diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index ca6dc53..0000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM archlinux/archlinux:latest - -RUN pacman-key --init -RUN pacman -Sy git binutils make pkg-config fakeroot openssl base-devel --noconfirm - -# Create a new user -RUN useradd --no-create-home --shell=/bin/false build && usermod -L build -RUN echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers -RUN echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers - -USER build - -WORKDIR /tmp -RUN git clone https://aur.archlinux.org/yay-bin.git - -WORKDIR /tmp/yay-bin -RUN makepkg -si --noconfirm - -RUN yay -Sy texlive-full --noconfirm \ No newline at end of file