Update Dockerfile
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,10 @@
|
|
| 1 |
-
# Use
|
| 2 |
-
FROM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Copy the entry point script
|
| 5 |
COPY start.sh /start.sh
|
|
|
|
| 1 |
+
# Use Alpine as the base image
|
| 2 |
+
FROM alpine:latest
|
| 3 |
+
|
| 4 |
+
# Install Portainer
|
| 5 |
+
RUN apk add --no-cache curl && \
|
| 6 |
+
curl -L https://github.com/portainer/portainer-ce/releases/latest/download/portainer-ce-linux-amd64 -o /usr/local/bin/portainer && \
|
| 7 |
+
chmod +x /usr/local/bin/portainer
|
| 8 |
|
| 9 |
# Copy the entry point script
|
| 10 |
COPY start.sh /start.sh
|