From 6992d1f81d7197811b73ab92aba8a518b77e7729 Mon Sep 17 00:00:00 2001
From: Damian Myrda <monkey.damianek@gmail.com>
Date: Sat, 11 May 2024 13:37:35 -0500
Subject: [PATCH] Remove what isn't needed

---
 Dockerfile          | 15 --------------
 Dockerfile.alpine   | 15 --------------
 snap/snapcraft.yaml | 49 ---------------------------------------------
 3 files changed, 79 deletions(-)
 delete mode 100644 Dockerfile
 delete mode 100644 Dockerfile.alpine
 delete mode 100644 snap/snapcraft.yaml

diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index d312df1..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,15 +0,0 @@
-FROM ubuntu:20.04
-
-ARG TARGETARCH
-
-# Dependencies
-RUN apt-get update && apt-get install -y --no-install-recommends tini && rm -rf /var/lib/apt/lists/*
-
-# Application
-COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd
-
-EXPOSE 7681
-WORKDIR /root
-
-ENTRYPOINT ["/usr/bin/tini", "--"]
-CMD ["ttyd", "-W", "bash"]
diff --git a/Dockerfile.alpine b/Dockerfile.alpine
deleted file mode 100644
index 141d56f..0000000
--- a/Dockerfile.alpine
+++ /dev/null
@@ -1,15 +0,0 @@
-FROM alpine
-
-ARG TARGETARCH
-
-# Dependencies
-RUN apk add --no-cache bash tini
-
-# Application
-COPY ./dist/${TARGETARCH}/ttyd /usr/bin/ttyd
-
-EXPOSE 7681
-WORKDIR /root
-
-ENTRYPOINT ["/sbin/tini", "--"]
-CMD ["ttyd", "-W", "bash"]
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
deleted file mode 100644
index 9122a3d..0000000
--- a/snap/snapcraft.yaml
+++ /dev/null
@@ -1,49 +0,0 @@
-name: ttyd
-adopt-info: ttyd
-summary: Share your terminal over the web
-description: |
- ttyd is a simple command-line tool for sharing terminal over the web
-
-grade: stable
-confinement: classic
-base: core20
-compression: lzo
-
-license: MIT
-
-assumes:
-  - command-chain
-
-apps:
-  ttyd:
-    command: usr/bin/ttyd
-    command-chain: 
-      - bin/homeishome-launch       
-
-parts:
-  ttyd:
-    source: https://github.com/tsl0922/ttyd
-    source-type: git
-    plugin: cmake
-    cmake-parameters:
-      - -DCMAKE_INSTALL_PREFIX=/usr
-    build-environment:
-      - LDFLAGS: "-pthread"
-      
-    override-pull: |
-      snapcraftctl pull
-      snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
-      
-    build-packages:
-      - build-essential 
-      - libjson-c-dev 
-      - libwebsockets-dev
-      
-    stage-packages:
-      - libjson-c4
-      - libwebsockets15
-      
-  homeishome-launch:
-    plugin: nil
-    stage-snaps:
-      - homeishome-launch  
-- 
2.43.4