Skip to content

Commit

Permalink
pipeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikodemMarek committed Sep 6, 2024
1 parent eeaeaec commit 3bebf93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM alpine:latest

# install dependencies (curl, sudo, bash)
RUN apk --no-cache add curl sudo bash
# install dependencies (go)
RUN apk add go

# install zmk-viewer
RUN curl -sL https://raw.githubusercontent.com/MrMarble/zmk-viewer/master/scripts/install.sh | sudo -E bash -
# install zmk-viewer to path
RUN GOBIN=/usr/local/bin/ go install github.com/mrmarble/zmk-viewer/cmd/zmk-viewer@latest

WORKDIR /images
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
version: '3'

services:
cheatsheet-generator:
build:
context: .
dockerfile: Dockerfile
image: nikodoom/zmk-viewer:latest
volumes:
- ./config:/config
- ./cheatsheets:/images
Expand Down

0 comments on commit 3bebf93

Please sign in to comment.