Skip to content

Commit

Permalink
upgrading base image to Debian 11 bullseye-slim
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed May 31, 2022
1 parent 01342e2 commit d81df49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# samp-server-docker Dockerfile

FROM debian:buster-slim
FROM debian:bullseye-slim

ARG TGZ_FILE
ARG APP_ROOT
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Original Linux server tar.gz can be found here (included in this repo):

## Run image (using Makefile)

Easiest way is using Makefile and .env (core constants) files:
The easiest way is using Makefile (`gnumake`) and .env (core constants) files:

```
```shell
# edit the constants (eg. EXTERNAL_PORT)
vi .env

Expand All @@ -41,7 +41,7 @@ make stop

Pull the image from Docker Hub and run it

```
```shell
docker run -d --rm -p 7777:7777 -p 7777:7777/udp --name samp-server krustowski/samp-server-docker
```

Expand All @@ -52,7 +52,7 @@ It it vital to forward both TCP and UDP ports!

Image can be built using Dockerfile as well on the local machine:

```
```shell
docker build . -t samp-server-built-image
docker run -d -p 7777:7777 -p 7777:7777/udp --name samp-server2 samp-server-built-image
```
Expand Down

0 comments on commit d81df49

Please sign in to comment.