chore: only readme on this branch
This commit is contained in:
parent
56e364c97a
commit
7e0d91eb11
17
.drone.yml
17
.drone.yml
@ -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/*
|
|
19
Dockerfile
19
Dockerfile
@ -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
|
|
Loading…
Reference in New Issue
Block a user