Skip to content

Commit

Permalink
Updating dockerfile
Browse files Browse the repository at this point in the history
Scott Gibb authored and Scott Gibb committed Jan 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5c47e0f commit 5ca3962
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM debian:latest

FROM debian:bookworm-slim

# Install dependencies
RUN apt-get clean && apt-get update && apt-get install -y \
@@ -32,18 +33,19 @@ RUN apt-get clean && apt-get update && apt-get install -y \
RUN wget http://download.dymo.com/dymo/Software/Download%20Drivers/Linux/Download/dymo-cups-drivers-1.4.0.tar.gz &&\
tar -xzf dymo-cups-drivers-1.4.0.tar.gz &&\
mkdir -p /usr/share/cups/model &&\
cp dymo-cups-drivers-1.4.0.5/ppd/lw450.ppd /usr/share/cups/model/
cp dymo-cups-drivers-1.4.0.5/ppd/lw450.ppd /usr/share/cups/model/

# Install Dymo SDK Patch
RUN cd ~/ &&\
git clone https://github.com/Kyle-Falconer/DYMO-SDK-for-Linux.git &&\
git clone https://github.com/ScottGibb/DYMO-SDK-for-Linux.git &&\
cd DYMO-SDK-for-Linux &&\
aclocal &&\
automake --add-missing &&\
autoconf &&\
./configure &&\
make &&\
make install
make install

# Expose port 631 for CUPS web interface
EXPOSE 631

@@ -66,5 +68,3 @@ RUN chmod +x /setup.sh

# Run CUPS in the foreground
CMD ["./setup.sh"]


0 comments on commit 5ca3962

Please sign in to comment.