Skip to content

Commit

Permalink
DOCKER: Simplfy dockerfile and use alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
Cian911 committed Jan 23, 2022
1 parent e5ff9f2 commit 8cea7e8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
FROM bitnami/minideb:jessie
FROM alpine

ENV SWB_VERSION=0.2.4

RUN apt-get update && apt-get install -y curl

RUN curl -L https://github.com/Cian911/switchboard/releases/download/v${SWB_VERSION}/switchboard_${SWB_VERSION}_linux_64-bit.deb -o switchboard_${SWB_VERSION}_linux_64-bit.deb && \
dpkg -i switchboard_${SWB_VERSION}_linux_64-bit.deb && \
rm switchboard_${SWB_VERSION}_linux_64-bit.deb
COPY switchboard /usr/local/bin/switchboard

ENTRYPOINT ["switchboard"]

0 comments on commit 8cea7e8

Please sign in to comment.